From 253a31b1ea1079032e2348a15aa4803298719d90 Mon Sep 17 00:00:00 2001 From: denise Date: Wed, 19 Sep 2012 17:05:20 -0400 Subject: [PATCH] -datatables small fix --- airtime_mvc/application/models/Datatables.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airtime_mvc/application/models/Datatables.php b/airtime_mvc/application/models/Datatables.php index 751caa257..351c382d2 100644 --- a/airtime_mvc/application/models/Datatables.php +++ b/airtime_mvc/application/models/Datatables.php @@ -100,7 +100,7 @@ class Application_Model_Datatables */ $params = array(); - if ($data['advSearch'] === 'true') { + if (isset($data['advSearch']) && $data['advSearch'] === 'true') { $advancedWhere = self::buildWhereClauseForAdvancedSearch($dbname2searchTerm); if (!empty($advancedWhere['clause'])) { $where[] = join(" AND ", $advancedWhere['clause']);