Commit d187171e authored by shajiaiming's avatar shajiaiming

fix

parent 6d585037
...@@ -108,7 +108,7 @@ class ExploreAppController extends BaseController ...@@ -108,7 +108,7 @@ class ExploreAppController extends BaseController
} }
unset($params['name']); unset($params['name']);
$params['name'] = $name; $params['name'] = $name;
if ($model->load($params, '') && $model->update()) { if ($model->load($params, '') && $model->save()) {
goto doEnd; goto doEnd;
} }
$msg = $model->errors; $msg = $model->errors;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment