X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCore%2FCommunityMessages.php;h=3db82150985c3c7f48c2dab0bb60a21130697d19;hb=ced9bfed5abf0d9edd1c9039a4089666b603a5ff;hp=9a6bcf650422cecf522deaa90a7d62f8731d01b9;hpb=da7a33feb6f28d09a8b2de93cb702b43ed484851;p=civicrm-core.git diff --git a/CRM/Core/CommunityMessages.php b/CRM/Core/CommunityMessages.php index 9a6bcf6504..3db8215098 100644 --- a/CRM/Core/CommunityMessages.php +++ b/CRM/Core/CommunityMessages.php @@ -1,7 +1,7 @@ client->get($this->getRenderedUrl()); @@ -223,10 +224,10 @@ class CRM_Core_CommunityMessages { * @return bool */ public function validateDocument($document) { - if (!isset($document['ttl']) || !is_integer($document['ttl'])) { + if (!isset($document['ttl']) || !is_int($document['ttl'])) { return FALSE; } - if (!isset($document['retry']) || !is_integer($document['retry'])) { + if (!isset($document['retry']) || !is_int($document['retry'])) { return FALSE; } if (!isset($document['messages']) || !is_array($document['messages'])) {