From: Dave Greenberg Date: Thu, 10 Apr 2014 20:37:16 +0000 (-0700) Subject: CRM-14451 - remove undefined / un-used variable. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=1049d0198b6ddd6742a7285f27cba4e64c3890dc;p=civicrm-core.git CRM-14451 - remove undefined / un-used variable. ---------------------------------------- * CRM-14451: https://issues.civicrm.org/jira/browse/CRM-14451 --- diff --git a/CRM/Contact/Page/AJAX.php b/CRM/Contact/Page/AJAX.php index a60304a962..9399285487 100644 --- a/CRM/Contact/Page/AJAX.php +++ b/CRM/Contact/Page/AJAX.php @@ -1074,7 +1074,7 @@ LIMIT {$offset}, {$rowCount} $sEcho = CRM_Utils_Type::escape($_REQUEST['sEcho'], 'Integer'); $offset = isset($_REQUEST['iDisplayStart']) ? CRM_Utils_Type::escape($_REQUEST['iDisplayStart'], 'Integer') : 0; $rowCount = isset($_REQUEST['iDisplayLength']) ? CRM_Utils_Type::escape($_REQUEST['iDisplayLength'], 'Integer') : 25; - $sort = isset($_REQUEST['iSortCol_0']) ? $sortMapper[CRM_Utils_Type::escape($_REQUEST['iSortCol_0'], 'Integer')] : 'sort_name'; + $sort = 'sort_name'; $sortOrder = isset($_REQUEST['sSortDir_0']) ? CRM_Utils_Type::escape($_REQUEST['sSortDir_0'], 'String') : 'asc'; $gid = isset($_REQUEST['gid']) ? CRM_Utils_Type::escape($_REQUEST['gid'], 'Integer') : 0;