mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 13:17:24 +02:00
Let _manageSubmit() method save posted values.
This commit is contained in:
@@ -5090,9 +5090,11 @@ class e_admin_ui extends e_admin_controller_ui
|
||||
|
||||
$this->convertToData($_POST);
|
||||
|
||||
$model->setPostedData($_POST, null, false)
|
||||
->setParam('validateAvailable', true) // new param to control validate of available data only, reset on validate event
|
||||
->update(true);
|
||||
$model->setPostedData($_POST, null, false);
|
||||
$model->setParam('validateAvailable', true); // new param to control validate of available data only, reset on validate event
|
||||
// Do not update here! Because $old_data and $new_data will be the same in afterUpdate() methods.
|
||||
// Data will be saved in _manageSubmit() method.
|
||||
// $model->update(true);
|
||||
|
||||
if($model->hasError())
|
||||
{
|
||||
|
Reference in New Issue
Block a user