Setup script:

- never hide error messages
- fixed a few typos
This commit is contained in:
Piotr Przybylski
2008-10-09 16:50:11 +00:00
parent 38734a3e16
commit 41670e64dc
2 changed files with 6 additions and 6 deletions

View File

@@ -76,7 +76,7 @@ function messages_show_html()
foreach ($_SESSION['messages'] as $type => $messages) {
foreach ($messages as $id => $msg) {
echo '<div class="' . $type . '" id="' . $id . '">' . '<h4>' . $msg['title'] . '</h4>' . $msg['message'] . '</div>';
if (!$msg['fresh']) {
if (!$msg['fresh'] && $type != 'error') {
$old_ids[] = $id;
}
}