aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/index.php b/index.php
index dd70a989..98ada1bd 100644
--- a/index.php
+++ b/index.php
@@ -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 !
68echo $poche->tpl->render($tpl_file, $tpl_vars); \ No newline at end of file 69echo $poche->tpl->render($tpl_file, $tpl_vars); \ No newline at end of file