projects
/
platal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2db8aeb
)
Do not show old errors when clearing them.
author
Stéphane Jacob
<sj@m4x.org>
Thu, 4 Nov 2010 11:34:33 +0000
(12:34 +0100)
committer
Stéphane Jacob
<sj@m4x.org>
Thu, 4 Nov 2010 11:34:33 +0000
(12:34 +0100)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
modules/core.php
patch
|
blob
|
blame
|
history
diff --git
a/modules/core.php
b/modules/core.php
index
7e3fd85
..
4a378ff
100644
(file)
--- a/
modules/core.php
+++ b/
modules/core.php
@@
-182,11
+182,11
@@
class CoreModule extends PLModule
function handler_siteerror($page) {
global $globals;
$page->coreTpl('site_errors.tpl');
- $page->assign('errors', PlErrorReport::iterate());
if (Post::has('clear')) {
PlErrorReport::clear();
$page->trigSuccess("Erreurs effacées.");
}
+ $page->assign('errors', PlErrorReport::iterate());
}
}