Commit e12952b1 authored by shajiaiming's avatar shajiaiming

fix

parent 32040276
......@@ -20,8 +20,8 @@ class ExploreAppController extends BaseController
$size = Yii::$app->request->get('size', 10);
$platform_id = Yii::$app->request->getPlatformId();
if (1 == $platform_id) {
$param_platform_id = Yii::$app->request->get('platform_id', 0);
if (false !== $param_platform_id) {
$param_platform_id = Yii::$app->request->get('platform_id', '');
if (false != $param_platform_id) {
$platform_id = $param_platform_id;
}
}
......@@ -44,7 +44,6 @@ class ExploreAppController extends BaseController
}
unset($params['name']);
$params['name'] = $name;
if ($model->load($params, '') && $model->save()) {
goto doEnd;
}
......
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