[REF] Stop passing contribution into completeOrder, id is enough
[civicrm-core.git] / CRM / Core / OptionValue.php
index b7cabfa8e50871a71eb9ce0409151a02999726ee..27581b35cb3e82114c7ddc8f74dd8050c7e0745a 100644 (file)
@@ -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;