mirror of
https://github.com/e107inc/e107.git
synced 2025-08-05 22:27:34 +02:00
Fixed system user model construct
This commit is contained in:
@@ -936,10 +936,7 @@ class e_system_user extends e_user_model
|
|||||||
*/
|
*/
|
||||||
public function __construct($user_data = array())
|
public function __construct($user_data = array())
|
||||||
{
|
{
|
||||||
if ($user_data)
|
parent::__construct($user_data);
|
||||||
{
|
|
||||||
$this->_data = $user_data;
|
|
||||||
}
|
|
||||||
$this->setEditor(e107::getUser());
|
$this->setEditor(e107::getUser());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user