diff options
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -62,7 +62,8 @@ else { | |||
62 | } | 62 | } |
63 | 63 | ||
64 | # because messages can be added in $poche->action(), we have to add this entry now (we can add it before) | 64 | # because messages can be added in $poche->action(), we have to add this entry now (we can add it before) |
65 | $tpl_vars = array_merge($tpl_vars, array('messages' => $poche->messages->display())); | 65 | $messages = $poche->messages->display('all', FALSE); |
66 | $tpl_vars = array_merge($tpl_vars, array('messages' => $messages)); | ||
66 | 67 | ||
67 | # Aaaaaaand action ! | 68 | # Aaaaaaand action ! |
68 | echo $poche->tpl->render($tpl_file, $tpl_vars); \ No newline at end of file | 69 | echo $poche->tpl->render($tpl_file, $tpl_vars); \ No newline at end of file |