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; }