mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Fixing undefined index notice when missing * errors are thrown
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5983 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
11d295eb0c
commit
e584f7bd0c
1 changed files with 3 additions and 1 deletions
|
@ -77,8 +77,10 @@ class SessionComponent extends CakeSession {
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
function initialize(&$controller) {
|
function initialize(&$controller) {
|
||||||
|
if (isset($controller->params['bare'])) {
|
||||||
$this->__bare = $controller->params['bare'];
|
$this->__bare = $controller->params['bare'];
|
||||||
}
|
}
|
||||||
|
}
|
||||||
/**
|
/**
|
||||||
* Startup method.
|
* Startup method.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in a new issue