From 5142112ae535981d16ac702164a10d5d5470b07a Mon Sep 17 00:00:00 2001 From: Junichi Satoh Date: Tue, 5 Jun 2018 11:34:19 +0900 Subject: [PATCH] Fixed error and white screen with php7.2. --- pandora_console/include/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_console/include/functions.php b/pandora_console/include/functions.php index 34072be403..10f64bc07e 100644 --- a/pandora_console/include/functions.php +++ b/pandora_console/include/functions.php @@ -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) {