mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
BUGFIX Fixed undefined method suser_error() in Cookie::set()
This commit is contained in:
parent
b1acd0520d
commit
07f4cd4a78
@ -36,7 +36,7 @@ class Cookie {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if(self::$report_errors)
|
if(self::$report_errors)
|
||||||
suser_error("Cookie '$name' can't be set. The site started outputting was content at line $line in $file", E_USER_WARNING);
|
user_error("Cookie '$name' can't be set. The site started outputting was content at line $line in $file", E_USER_WARNING);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -60,4 +60,4 @@ class Cookie {
|
|||||||
static function report_errors() {
|
static function report_errors() {
|
||||||
return self::$report_errors;
|
return self::$report_errors;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user