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:
Sean Harvey 2009-03-25 22:30:29 +00:00
parent 7cc578a603
commit 06cf80edb9

View File

@ -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);
} }
} }