projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
BAO_Contact - Remove CRM_Utils_Array::value and other unnecessary code
[civicrm-core.git]
/
CRM
/
Core
/
OptionValue.php
diff --git
a/CRM/Core/OptionValue.php
b/CRM/Core/OptionValue.php
index b7cabfa8e50871a71eb9ce0409151a02999726ee..27581b35cb3e82114c7ddc8f74dd8050c7e0745a 100644
(file)
--- a/
CRM/Core/OptionValue.php
+++ b/
CRM/Core/OptionValue.php
@@
-261,7
+261,7
@@
class CRM_Core_OptionValue {
}
if ($object->find(TRUE)) {
- return
($daoID && $object->id == $daoID) ? TRUE : FALSE
;
+ return
$daoID && $object->id == $daoID
;
}
else {
return TRUE;