diff --git a/include/incl.php b/include/incl.php index b66f103..4bef0e0 100644 --- a/include/incl.php +++ b/include/incl.php @@ -268,16 +268,18 @@ function purgeSessionMessages() function dumpmsgbuffer() { $GLOBALS['session']->dumpmsgbuffer(); - - echo html_frame_start("","300","",5); - foreach ($GLOBALS['session']->msg as $msg) + if (is_array($GLOBALS['session']->msg) and count($GLOBALS['session']->msg) > 0) { - if ($msg['color'] == "red") - $msg['color'] = "{$msg['color']};text-decoration:blink"; - echo "