Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.1.2
-
Fix Version/s: 4.2.0
-
Component/s: CiviReport
-
Labels:None
Description
On the Administer CiviCRM page, we get this warning:
Notice: Undefined index: CiviReport in CRM_Admin_Page_Admin->run() (line 108 of /ebs/www/crm.primaryimmune.org/htdocs/sites/all/modules/civicrm/CRM/Admin/Page/Admin.php).
The problem is the $values array may not contain all $group variables. On this same like, I did this:
if(isset($values[$group]))
else
{ $adminPanel[$group] = array(); $adminPanel[$group]['show'] = ''; $adminPanel[$group]['hide'] = ''; $adminPanel[$group]['title'] = $title; }I know its not a huge deal, but thought I would make someones life easier.