diff options
| author | 2018-11-28 22:16:14 +0100 | |
|---|---|---|
| committer | 2018-11-28 22:16:14 +0100 | |
| commit | 57fce758f5bd116e1f603d6435fb341f2741ab16 (patch) | |
| tree | 4634215589b2affeef25f7dd5c69ea7c2ff82a6e /lib/Minz/ControllerNotExistException.php | |
| parent | 154a9f5acfc8b16072af0ecb89b2370e2b0d2d1d (diff) | |
Fix HTML injections (#2157)
Minz: Fix HTML injections
Diffstat (limited to 'lib/Minz/ControllerNotExistException.php')
| -rw-r--r-- | lib/Minz/ControllerNotExistException.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/Minz/ControllerNotExistException.php b/lib/Minz/ControllerNotExistException.php index 24a09a635..dcdaa94d1 100644 --- a/lib/Minz/ControllerNotExistException.php +++ b/lib/Minz/ControllerNotExistException.php @@ -1,9 +1,7 @@ <?php class Minz_ControllerNotExistException extends Minz_Exception { public function __construct ($controller_name, $code = self::ERROR) { - $message = 'Controller `' . $controller_name - . '` doesn\'t exist'; - + $message = 'Controller not found!'; parent::__construct ($message, $code); } } |
