#5196 - Admin Zone search throws error when not using cns

  • By
  • Added
  • 4 views
Identifier #5196
Issue type Minor issue (breaks specific functionality)
Title Admin Zone search throws error when not using cns
Status Completed
Handling member Chris Graham
Addon General / Uncategorised
Description PHP ERROR [1] Uncaught Error: Cannot use object of type Tempcode as array in adminzone/pages/modules/admin.php:545 Stack trace: #0 adminzone/pages/modules/admin.php(143): Module_admin->search() #1 sources/zones.php(785): Module_admin->run() #2 sources/site.php(1480): load_module_page('adminzone/pages...', 'admin') #3 sources/site.php(1095): request_page('admin', true, 'adminzone', NULL, false, true) #4 adminzone/index.php(59): do_site() #5 {main} thrown in adminzone/pages/modules/admin.php on line 545

...but I cannot figure out why; seems every check on that line is not an object nor a Tempcode.
Steps to reproduce

Funded? No
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated