From 4decfaa8481de98a6cfce7052876e35875d9ec98 Mon Sep 17 00:00:00 2001 From: Cris Date: Thu, 24 Mar 2022 11:04:03 +0100 Subject: [PATCH] Added: Zeitverfuegbarkeit-Notizfeld ist nun verpflichtend in Assistenzsicht --- .../controllers/lehre/lvplanung/AdminZeitverfuegbarkeit.php | 5 +++++ .../views/lehre/lvplanung/adminZeitverfuegbarkeit.php | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/application/controllers/lehre/lvplanung/AdminZeitverfuegbarkeit.php b/application/controllers/lehre/lvplanung/AdminZeitverfuegbarkeit.php index e039b924d..b43066c72 100644 --- a/application/controllers/lehre/lvplanung/AdminZeitverfuegbarkeit.php +++ b/application/controllers/lehre/lvplanung/AdminZeitverfuegbarkeit.php @@ -227,6 +227,11 @@ class AdminZeitverfuegbarkeit extends Auth_Controller { return (error('LektorIn fehlt')); } + + if (isEmptyString($post['bezeichnung'])) + { + return (error('Notiz fehlt')); + } if (isEmptyString($post['vondatum'])) { diff --git a/application/views/lehre/lvplanung/adminZeitverfuegbarkeit.php b/application/views/lehre/lvplanung/adminZeitverfuegbarkeit.php index 08a635912..893a9c760 100644 --- a/application/views/lehre/lvplanung/adminZeitverfuegbarkeit.php +++ b/application/views/lehre/lvplanung/adminZeitverfuegbarkeit.php @@ -86,7 +86,7 @@ $this->load->view(
- +