From fc9e94346641d39f0d971b5a027b8d63affdf2cc Mon Sep 17 00:00:00 2001 From: Frank Schubert Date: Sun, 29 Aug 2021 17:04:28 +0200 Subject: [PATCH] Added anker to redirect in Pipework/Save --- application/Pipework/PipeworkController.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/application/Pipework/PipeworkController.php b/application/Pipework/PipeworkController.php index 81d56429e..4d5082030 100644 --- a/application/Pipework/PipeworkController.php +++ b/application/Pipework/PipeworkController.php @@ -170,6 +170,7 @@ class PipeworkController extends mfBaseController { $file->delete(); unlink($upload->getSavepath()."/".$upload->getFilename()); $this->layout()->setFlash("Dateiupload fehlgeschlagen", "warn"); + $this->redirect("Pipework"); } } } catch(Exception $ex) { @@ -181,7 +182,7 @@ class PipeworkController extends mfBaseController { } $this->layout->setFlash("Workflow Eintrag erfolgreich gespeichert.", "success"); - $this->redirect("Pipework"); + $this->redirect("Pipework","Index", false, "wf-building-".$building_id);