Add new group added id return to Group::create
This commit is contained in:
parent
385a36138a
commit
72641e86a8
|
@ -47,6 +47,9 @@ class Group extends BaseObject
|
|||
}
|
||||
|
||||
$return = dba::insert('group', ['uid' => $uid, 'name' => $name]);
|
||||
if ($return) {
|
||||
$return = dba::lastInsertId();
|
||||
}
|
||||
}
|
||||
return $return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user