Permalink
Browse files

Append Controller to error class name for isAuthorized() not implemen…

…ted.
  • Loading branch information...
1 parent 44b0917 commit 1dbed85979a46a5508b3386d595b8ffd827e0a9a @predominant predominant committed Dec 4, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 cake/libs/controller/controller.php
@@ -800,7 +800,7 @@ function setAction($action) {
*/
function isAuthorized() {
trigger_error(sprintf(
- __('%s::isAuthorized() is not defined.', true), $this->name
+ __('%sController::isAuthorized() is not defined.', true), $this->name
), E_USER_WARNING);
return false;
}

0 comments on commit 1dbed85

Please sign in to comment.