add a type arg, even if it's not used yet

This commit is contained in:
Shish 2012-06-10 01:05:03 +01:00
parent 37b3dd60b6
commit 61754b8dfe

View file

@ -690,7 +690,7 @@ function set_prefixed_cookie($name, $value, $time, $path) {
/**
* Set (or extend) a flash-message cookie
*/
function flash_message(/*string*/ $text) {
function flash_message(/*string*/ $text, /*string*/ $type="info") {
$current = get_prefixed_cookie("flash_message");
if($current) {
$text = $current . "\n" . $text;