Fixed error and white screen with php7.2.
This commit is contained in:
parent
db4ce74311
commit
5142112ae5
|
@ -2434,7 +2434,7 @@ function clear_pandora_error_for_header() {
|
|||
global $config;
|
||||
|
||||
$config["alert_cnt"] = 0;
|
||||
$_SESSION["alert_msg"] = "";
|
||||
$_SESSION["alert_msg"] = array();
|
||||
}
|
||||
|
||||
function set_pandora_error_for_header($message, $title = null) {
|
||||
|
|
Loading…
Reference in New Issue