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 #900 from dlobo/CRM-12588
[civicrm-core.git]
/
CRM
/
Mailing
/
PseudoConstant.php
diff --git
a/CRM/Mailing/PseudoConstant.php
b/CRM/Mailing/PseudoConstant.php
index 37b079aae90de0342d8ea5f4b09fa7f06111908e..0a36721210ac5ad891d35391c6b65994a5dea31c 100644
(file)
--- a/
CRM/Mailing/PseudoConstant.php
+++ b/
CRM/Mailing/PseudoConstant.php
@@
-240,7
+240,9
@@
class CRM_Mailing_PseudoConstant extends CRM_Core_PseudoConstant {
*
*/
public static function flush($name) {
- self::$$name = NULL;
+ if (isset(self::$$name)) {
+ self::$$name = NULL;
+ }
}
}