diff --git a/ChangeLog b/ChangeLog index edba55c58b..740c5e259a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,7 @@ phpMyAdmin - ChangeLog + issue #11456 Disabled storage engines 4.5.1.0 (not yet released) +- issue Invalid argument supplied for foreach() 4.5.0.0 (not yet released) + rfe Pagination for GIS visualization diff --git a/libraries/ip_allow_deny.lib.php b/libraries/ip_allow_deny.lib.php index ecd55a7514..81fabc9f7f 100644 --- a/libraries/ip_allow_deny.lib.php +++ b/libraries/ip_allow_deny.lib.php @@ -285,6 +285,9 @@ function PMA_allowDeny($type) // copy rule database $rules = $cfg['Server']['AllowDeny']['rules']; + if (! is_array($rules)) { + $rules = array(); + } // lookup table for some name shortcuts $shortcuts = array(