From: yashodha Date: Mon, 10 Aug 2015 06:15:27 +0000 (+0530) Subject: notice fix X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=6eb91e4910f5902ccccd9d4579150fda49c970b4;p=civicrm-core.git notice fix --- 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')); + } } } }