projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge pull request #16484 from yashodha/dev_1580
[civicrm-core.git]
/
CRM
/
Core
/
BAO
/
ActionLog.php
diff --git
a/CRM/Core/BAO/ActionLog.php
b/CRM/Core/BAO/ActionLog.php
index 7615b9724930334a1be92c3e66b6cb8a95a99a5e..c04e3f30cceb68fd6bfa9226d829453096b81e30 100644
(file)
--- a/
CRM/Core/BAO/ActionLog.php
+++ b/
CRM/Core/BAO/ActionLog.php
@@
-36,7
+36,7
@@
class CRM_Core_BAO_ActionLog extends CRM_Core_DAO_ActionLog {
$actionLog->copyValues($params);
- $edit = (
$actionLog->id) ? TRUE : FALSE
;
+ $edit = (
bool) $actionLog->id
;
if ($edit) {
CRM_Utils_Hook::pre('edit', 'ActionLog', $actionLog->id, $actionLog);
}