From: Joe Murray Date: Tue, 19 Nov 2013 16:16:47 +0000 (-0500) Subject: CRM-13793 cleanup of assignment in condition X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=69159dca6c0f393a618d19800469321992d0ac44;p=civicrm-core.git CRM-13793 cleanup of assignment in condition --- diff --git a/CRM/Case/Page/AJAX.php b/CRM/Case/Page/AJAX.php index 860566625c..c801ac908e 100644 --- a/CRM/Case/Page/AJAX.php +++ b/CRM/Case/Page/AJAX.php @@ -44,7 +44,8 @@ class CRM_Case_Page_AJAX { $criteria = explode('-', CRM_Utils_Type::escape(CRM_Utils_Array::value('s', $_GET), 'String')); $limit = NULL; - if ($limit = CRM_Utils_Array::value('limit', $_GET)) { + $limit = CRM_Utils_Array::value('limit', $_GET); + if ($limit) { $limit = CRM_Utils_Type::escape($limit, 'Integer'); }