mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-04 10:32:40 +00:00
converting if ($foo != false) to if ($foo)
This commit is contained in:
parent
b1f26b59a3
commit
8dc4de5de8
4 changed files with 4 additions and 4 deletions
|
@ -146,7 +146,7 @@ class Scaffold {
|
|||
$this->controller->viewClass = 'Scaffold';
|
||||
}
|
||||
$this->_validSession = (
|
||||
isset($this->controller->Session) && $this->controller->Session->valid() != false
|
||||
isset($this->controller->Session) && $this->controller->Session->valid()
|
||||
);
|
||||
$this->_scaffold($request);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue