1
0
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:
secretr
2010-07-24 16:13:42 +00:00
parent b3d82c24c1
commit 2611c03640

View File

@@ -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());
} }