Merge branch 'fronkdev' into 'master'

Fixed not being able to order mgmt service from Citycom

See merge request fronk/thetool!1895
This commit is contained in:
Frank Schubert
2025-11-20 13:41:58 +00:00
7 changed files with 19 additions and 4 deletions

View File

@@ -791,6 +791,10 @@ class PreorderController extends mfBaseController {
$qs = http_build_query($qs);
}
if(!$this->me->isAdmin()) {
$this->redirect("Preorder", "Index", $qs);
}
$id = $this->request->id;
if(!is_numeric($id) || $id < 1) {
$this->layout()->setFlash("Vorbestellung nicht gefunden!", "error");