From 6eb91e4910f5902ccccd9d4579150fda49c970b4 Mon Sep 17 00:00:00 2001 From: yashodha Date: Mon, 10 Aug 2015 11:45:27 +0530 Subject: [PATCH] notice fix --- CRM/Core/Form/Search.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CRM/Core/Form/Search.php b/CRM/Core/Form/Search.php index 466844bbc7..2c1408411b 100644 --- a/CRM/Core/Form/Search.php +++ b/CRM/Core/Form/Search.php @@ -122,7 +122,9 @@ class CRM_Core_Form_Search extends CRM_Core_Form { $this->addElement('checkbox', 'toggleSelect', NULL, NULL, array('class' => 'select-rows')); if (!empty($rows)) { foreach ($rows as $row) { - $this->addElement('checkbox', $row['checkbox'], NULL, NULL, array('class' => 'select-row')); + if (CRM_Utils_Array::value('checkbox', $row)) { + $this->addElement('checkbox', $row['checkbox'], NULL, NULL, array('class' => 'select-row')); + } } } } -- 2.25.1