From 08b83340948957784b94eafd67f80fc8e582a1ba Mon Sep 17 00:00:00 2001 From: monishdeb Date: Sun, 29 Jun 2014 01:11:34 +0530 Subject: [PATCH] minor fix --- CRM/Core/Page/AJAX/Location.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/CRM/Core/Page/AJAX/Location.php b/CRM/Core/Page/AJAX/Location.php index 0a241dfb35..bfb5109578 100644 --- a/CRM/Core/Page/AJAX/Location.php +++ b/CRM/Core/Page/AJAX/Location.php @@ -51,9 +51,7 @@ class CRM_Core_Page_AJAX_Location { // Verify user id $user = CRM_Utils_Request::retrieve('uid', 'Integer', CRM_Core_DAO::$_nullObject, FALSE, CRM_Core_Session::singleton()->get('userID')); - if (empty($user) || - (CRM_Utils_Request::retrieve('cs', 'String', $form, FALSE) && - !CRM_Contact_BAO_Contact_Permission::validateChecksumContact($user, CRM_Core_DAO::$_nullObject, FALSE)) + if (empty($user) || (CRM_Utils_Request::retrieve('cs', 'String', $form, FALSE) && !CRM_Contact_BAO_Contact_Permission::validateChecksumContact($user, CRM_Core_DAO::$_nullObject, FALSE)) ) { CRM_Utils_System::civiExit(); } -- 2.25.1