Finished sending of Preordernotifications
This commit is contained in:
@@ -379,7 +379,11 @@ class PreordernotificationController extends mfBaseController {
|
||||
}
|
||||
|
||||
$this->layout()->setFlash("Erfolgreich gepeichert.", "success");
|
||||
$this->redirect("Preordernotification", "edit", ['id' => $new_id]);
|
||||
if($r->return == "index") {
|
||||
$this->redirect("Preordernotification");
|
||||
} else {
|
||||
$this->redirect("Preordernotification", "edit", ['id' => $new_id]);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user