Skip to content

Commit ebd3864

Browse files
actionPesan
1 parent 5141a06 commit ebd3864

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

frontend/controllers/SiteController.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,10 @@ public function actionPesan()
291291
} else {
292292
Yii::$app->session->setFlash('error','Terjadi Kesalahan');
293293
}
294+
return $this ->render('hasil-pesan',['model'=>$model]);
295+
} else {
296+
return $this ->render('pesan',['model'=>$model]);
294297
}
295-
return $this ->render('pesan',['model'=>$model]);
298+
296299
}
297300
}

0 commit comments

Comments
 (0)