Skip to content

Commit

Permalink
Append Controller to error class name for isAuthorized() not implemen…
Browse files Browse the repository at this point in the history
…ted.
  • Loading branch information
predominant committed Dec 4, 2010
1 parent 44b0917 commit 1dbed85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cake/libs/controller/controller.php
Expand Up @@ -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;
}
Expand Down

0 comments on commit 1dbed85

Please sign in to comment.