freebsd-ports/net-mgmt/pandorafms_console/files/patch-include_functions.php
Rene Ladan e6575044d6 net-mgmt/pandorafms_console: fix build with PHP 7.1+
PR:		233773
Reported by:	Maroslav Lachman 000.fbsd@quip.cz
Reviewed by:	maintainer (actual diff)
Approved by:	maintainer
MFH:		2019Q1
2019-01-01 12:44:26 +00:00

11 lines
331 B
PHP

--- include/functions.php.orig 2016-04-08 09:50:59 UTC
+++ include/functions.php
@@ -2322,7 +2322,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) {