Added anker to redirect in Pipework/Save

This commit is contained in:
Frank Schubert
2021-08-29 17:04:28 +02:00
parent b81081cfe6
commit fc9e943466

View File

@@ -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);