projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Display public title and description on profiles and unsubscribe/subscribe forms...
[civicrm-core.git]
/
CRM
/
Contact
/
DAO
/
Factory.php
diff --git
a/CRM/Contact/DAO/Factory.php
b/CRM/Contact/DAO/Factory.php
index 8af2fc1ac41662a5fb504f9bcbe18e8cad239541..ef11dad723c04871c8781a5816ccae53203ba325 100644
(file)
--- a/
CRM/Contact/DAO/Factory.php
+++ b/
CRM/Contact/DAO/Factory.php
@@
-30,7
+30,7
@@
class CRM_Contact_DAO_Factory {
* @return mixed
*/
public static function create($className) {
- $type =
CRM_Utils_Array::value($className, self::$_classes)
;
+ $type =
self::$_classes[$className] ?? NULL
;
if (!$type) {
return CRM_Core_DAO_Factory::create($className);
}