mirror of
https://github.com/e107inc/e107.git
synced 2025-08-13 10:04:35 +02:00
fix parse error on front-end logout (when main admin in 'login as' state)
This commit is contained in:
@@ -1105,7 +1105,8 @@ class e_user extends e_user_model
|
||||
$this->_extended_model = $this->_parent_extmodel;
|
||||
$this->_extended_structure = $this->_parent_extstruct;
|
||||
$this->_user_config = $this->_parent_config;
|
||||
$this->setData($this->_parent_model->getData());
|
||||
if($this->_parent_model)
|
||||
$this->setData($this->_parent_model->getData());
|
||||
|
||||
// cleanup
|
||||
$this->_parent_id = false;
|
||||
|
Reference in New Issue
Block a user