diff options
author | Michal Čihař <michal@cihar.com> | 2017-09-04 18:40:17 +0300 |
---|---|---|
committer | Michal Čihař <michal@cihar.com> | 2017-09-04 18:46:10 +0300 |
commit | b11f479c5b602c746ba0f4eac91956ede9658f45 (patch) | |
tree | 3edfdc6fc99b55380a6ba0fb73c05734b01a2ca0 /libraries/classes/Core.php | |
parent | ba92aeeac694be0e22545ae716f7bc5450ff6d90 (diff) |
Fix handling of early fatal errors
Signed-off-by: Michal Čihař <michal@cihar.com>
Diffstat (limited to 'libraries/classes/Core.php')
-rw-r--r-- | libraries/classes/Core.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/classes/Core.php b/libraries/classes/Core.php index f0d1d79774..32e1e13156 100644 --- a/libraries/classes/Core.php +++ b/libraries/classes/Core.php @@ -692,7 +692,7 @@ class Core parse_str($arr["query"], $vars); $query = http_build_query(array("url" => $vars["url"])); - if ($GLOBALS['PMA_Config']->get('is_setup')) { + if (!is_null($GLOBALS['PMA_Config']) && $GLOBALS['PMA_Config']->get('is_setup')) { $url = '../url.php?' . $query; } else { $url = './url.php?' . $query; |