replace on cardsaving ö to 0
This commit is contained in:
@@ -99,7 +99,8 @@ class CardController extends \backend\controllers\BackendController
|
||||
$model = $this->findModel($id);
|
||||
|
||||
if ($model->load(Yii::$app->request->post()) && $model->save()) {
|
||||
return $this->redirect(['view', 'id' => $model->id_card]);
|
||||
return $this->redirect(['index']);
|
||||
// return $this->redirect(Yii::$app->request->referrer);
|
||||
} else {
|
||||
return $this->render('update', [
|
||||
'model' => $model,
|
||||
|
||||
Reference in New Issue
Block a user