mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUGFIX Undefined function "use_error" - should've been "user_error" (Merged from r69938)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@73657 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
7cc578a603
commit
06cf80edb9
@ -296,7 +296,7 @@ class Permission extends DataObject {
|
|||||||
if(is_numeric($arg)) {
|
if(is_numeric($arg)) {
|
||||||
$perm->Arg = $arg;
|
$perm->Arg = $arg;
|
||||||
} else {
|
} else {
|
||||||
use_error("Permission::checkMember: bad arg '$arg'",
|
user_error("Permission::checkMember: bad arg '$arg'",
|
||||||
E_USER_ERROR);
|
E_USER_ERROR);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -330,7 +330,7 @@ class Permission extends DataObject {
|
|||||||
if(is_numeric($arg)) {
|
if(is_numeric($arg)) {
|
||||||
$perm->Arg = $arg;
|
$perm->Arg = $arg;
|
||||||
} else {
|
} else {
|
||||||
use_error("Permission::checkMember: bad arg '$arg'",
|
user_error("Permission::checkMember: bad arg '$arg'",
|
||||||
E_USER_ERROR);
|
E_USER_ERROR);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user