mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-03 10:02:42 +00:00
Removed trailing whitespaces from core.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7847 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
edfbe5be33
commit
6319f8ea69
57 changed files with 127 additions and 274 deletions
|
@ -57,7 +57,7 @@ class CakeErrorController extends AppController {
|
|||
}
|
||||
}
|
||||
/**
|
||||
* Error Handler.
|
||||
* Error Handler.
|
||||
*
|
||||
* Captures and handles all cakeError() calls.
|
||||
* Displays helpful framework errors when debug > 1.
|
||||
|
@ -83,7 +83,7 @@ class ErrorHandler extends Object {
|
|||
function __construct($method, $messages) {
|
||||
App::import('Core', 'Sanitize');
|
||||
static $__previousError = null;
|
||||
|
||||
|
||||
if ($__previousError != array($method, $messages)) {
|
||||
$__previousError = array($method, $messages);
|
||||
$this->controller =& new CakeErrorController();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue