From 69159dca6c0f393a618d19800469321992d0ac44 Mon Sep 17 00:00:00 2001 From: Joe Murray Date: Tue, 19 Nov 2013 11:16:47 -0500 Subject: [PATCH] CRM-13793 cleanup of assignment in condition --- CRM/Case/Page/AJAX.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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'); } -- 2.25.1