mirror of
https://github.com/Mibew/mibew.git
synced 2025-01-31 13:24:41 +03:00
Fix wrong group key in "update_group" function
This commit is contained in:
parent
28270d7d18
commit
7e371a20d9
@ -405,7 +405,7 @@ function update_group($group)
|
||||
if ($group['parent']) {
|
||||
$db->query(
|
||||
"UPDATE {opgroup} SET parent = NULL WHERE parent = ?",
|
||||
array($group['id'])
|
||||
array($group['groupid'])
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user