From 7a53d59934bdf17b1e997c0277dadf6b6f11fa11 Mon Sep 17 00:00:00 2001 From: Tyrell Cook Date: Wed, 30 Apr 2014 18:31:01 -0400 Subject: [PATCH] CRM-14466 initialized variables to get rid of php notices --- CRM/Activity/Page/AJAX.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CRM/Activity/Page/AJAX.php b/CRM/Activity/Page/AJAX.php index 999b07ab0e..a10a9c8db9 100644 --- a/CRM/Activity/Page/AJAX.php +++ b/CRM/Activity/Page/AJAX.php @@ -81,8 +81,8 @@ class CRM_Activity_Page_AJAX { $rowCount = isset($_REQUEST['iDisplayLength']) ? CRM_Utils_Type::escape($_REQUEST['iDisplayLength'], 'Integer') : 25; $sort = isset($_REQUEST['iSortCol_0']) ? CRM_Utils_Array::value(CRM_Utils_Type::escape($_REQUEST['iSortCol_0'], 'Integer'), $sortMapper) : NULL; $sortOrder = isset($_REQUEST['sSortDir_0']) ? CRM_Utils_Type::escape($_REQUEST['sSortDir_0'], 'String') : 'asc'; - $params = $_POST; + $sortSQL = ""; if ($sort && $sortOrder) { $sortSQL = $sort .' '.$sortOrder; } @@ -252,10 +252,10 @@ class CRM_Activity_Page_AJAX { // Get rid of the "
(Case Manager)" from label list($typeLabel) = explode('<', $row['relation']); // view user links - if ($row['cid']) { + if (array_key_exists("cid",$row)) { $row['name'] = ''.$row['name'].''; - } + } // email column links/icon if ($row['email']) { $row['email'] = ''; -- 2.25.1