Update user.class.php
actually the create_from_member method does not require this change
This commit is contained in:
parent
9f2ac7cae3
commit
d368bc1b6a
@ -1371,7 +1371,7 @@ class User extends CommonObject
|
||||
$this->db->begin();
|
||||
|
||||
// Create and set $this->id
|
||||
$result=$this->create($user, 1);
|
||||
$result=$this->create($user);
|
||||
if ($result > 0)
|
||||
{
|
||||
$newpass=$this->setPassword($user, $this->pass);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user