BUGFIX Fixed undefined method suser_error() in Cookie::set()

This commit is contained in:
Sean Harvey 2012-02-16 14:59:56 +13:00
parent b1acd0520d
commit 07f4cd4a78

View File

@ -36,7 +36,7 @@ class Cookie {
}
} else {
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() {
return self::$report_errors;
}
}
}