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 aa0bad9 commit dd18efb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cake/libs/controller/controller.php
Expand Up @@ -732,7 +732,7 @@ public function setAction($action) {
*/
public function isAuthorized() {
trigger_error(sprintf(
__('%s::isAuthorized() is not defined.'), $this->name
__('%sController::isAuthorized() is not defined.'), $this->name
), E_USER_WARNING);
return false;
}
Expand Down

0 comments on commit dd18efb

Please sign in to comment.