Fix wrong group key in "update_group" function

This commit is contained in:
Dmitriy Simushev 2014-10-27 10:30:25 +00:00
parent 28270d7d18
commit 7e371a20d9

View File

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