Permalink
Browse files

You can now add "more" flash messages of the same type. This will mak…

…e it append the messages after each others.
  • Loading branch information...
1 parent 462b261 commit 8e0cac717bababe21cc3bb2c85ed5170c5443c95 @jimmiw committed Sep 13, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 flashmessage.inc.php
View
@@ -27,7 +27,7 @@ function flash($type, $message) {
$_SESSION['flash']['uri'] = $_SERVER['REQUEST_URI'];
}
// sets the message
- $_SESSION['flash'][$type] = $message;
+ $_SESSION['flash'][$type] .= $message;
}
/**

0 comments on commit 8e0cac7

Please sign in to comment.