From 21d6154cab9da8e07ca885472d4761612a70966c Mon Sep 17 00:00:00 2001 From: eileen Date: Fri, 30 Aug 2013 17:09:48 +1200 Subject: [PATCH] CRM-13296 fix enotice --- CRM/Utils/Token.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Utils/Token.php b/CRM/Utils/Token.php index f5a3985f83..7f922bdf06 100644 --- a/CRM/Utils/Token.php +++ b/CRM/Utils/Token.php @@ -1333,7 +1333,7 @@ class CRM_Utils_Token { */ protected static function _buildMembershipTokens() { $key = 'membership'; - if (self::$_tokens[$key] == NULL) { + if (!isset(self::$_tokens[$key]) || self::$_tokens[$key] == NULL) { $membershipTokens = array(); $tokens = CRM_Core_SelectValues::membershipTokens(); foreach ($tokens as $token => $dontCare) { -- 2.25.1