Merge remote-tracking branch 'origin/master'

This commit is contained in:
Weblate 2015-09-14 10:36:24 +02:00
commit 1af3fcfd96

View File

@ -284,8 +284,12 @@ function PMA_allowDeny($type)
$username = $cfg['Server']['user'];
// copy rule database
$rules = $cfg['Server']['AllowDeny']['rules'];
if (! is_array($rules)) {
if (isset($cfg['Server']['AllowDeny']['rules'])) {
$rules = $cfg['Server']['AllowDeny']['rules'];
if (! is_array($rules)) {
$rules = array();
}
} else {
$rules = array();
}