* Finish task #86282.

This commit is contained in:
hufangzhou
2023-03-10 09:05:13 +00:00
parent dab24ee41a
commit 73cccb2d61
3 changed files with 5 additions and 8 deletions
+1 -2
View File
@@ -1484,7 +1484,6 @@ class groupModel extends model
public function updatePrivOrder()
{
$data = fixer::input('post')->get();
foreach($data as $privID => $order) $this->dao->update(TABLE_PRIV)->set('order')->eq($order)->where('id')->eq($privID)->exec();
foreach($data->orders as $privID => $order) $this->dao->update(TABLE_PRIV)->set('order')->eq($order)->where('id')->eq($privID)->exec();
}
}