*Fix bug#18295.
This commit is contained in:
@@ -1638,7 +1638,13 @@ class treeModel extends model
|
||||
$short = $shorts[$moduleID];
|
||||
$order = $orders[$moduleID];
|
||||
$moduleID = str_replace('id', '', $moduleID);
|
||||
$this->dao->update(TABLE_MODULE)->set('name')->eq(strip_tags(trim($moduleName)))->set('short')->eq($short)->set('order')->eq($order)->where('id')->eq($moduleID)->limit(1)->exec();
|
||||
|
||||
$data = new stdClass();
|
||||
$data->name = strip_tags(trim($moduleName));
|
||||
$data->short = $short;
|
||||
$data->order = $order;
|
||||
|
||||
$this->dao->update(TABLE_MODULE)->data($data)->autoCheck()->where('id')->eq($moduleID)->limit(1)->exec();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user