add a type arg, even if it's not used yet
This commit is contained in:
parent
37b3dd60b6
commit
61754b8dfe
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Reference in a new issue