add a type arg, even if it's not used yet
This commit is contained in:
parent
37b3dd60b6
commit
61754b8dfe
@ -690,7 +690,7 @@ function set_prefixed_cookie($name, $value, $time, $path) {
|
|||||||
/**
|
/**
|
||||||
* Set (or extend) a flash-message cookie
|
* 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");
|
$current = get_prefixed_cookie("flash_message");
|
||||||
if($current) {
|
if($current) {
|
||||||
$text = $current . "\n" . $text;
|
$text = $current . "\n" . $text;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user