From 72778eb97c842bf030684c588ed5be0f2eeffaba Mon Sep 17 00:00:00 2001 From: Jonathan Date: Tue, 21 Mar 2023 12:07:10 +0100 Subject: [PATCH] Wizzard template fix --- pandora_console/include/functions_ui.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pandora_console/include/functions_ui.php b/pandora_console/include/functions_ui.php index f9d8cfdf99..ce111ea249 100755 --- a/pandora_console/include/functions_ui.php +++ b/pandora_console/include/functions_ui.php @@ -283,6 +283,14 @@ function ui_print_message($message, $class='', $attributes='', $return=false, $t if (empty($message['force_class']) === false) { $force_class = $message['force_class']; } + + if (isset($message['autoclose']) === true) { + if ($message['autoclose'] === true) { + $autoclose = true; + } else { + $autoclose = false; + } + } } else { $text_message = $message; }