From cbfbd8b1551f6f84f857088d5aac5d02f1effedb Mon Sep 17 00:00:00 2001 From: aschwarz Date: Mon, 27 Feb 2023 15:48:43 +0100 Subject: [PATCH] =?UTF-8?q?kleine=20constant=20Fehler=20ge=C3=A4ndert?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fachprojekt/endgueltig.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fachprojekt/endgueltig.php b/fachprojekt/endgueltig.php index 2f63989..7069b14 100755 --- a/fachprojekt/endgueltig.php +++ b/fachprojekt/endgueltig.php @@ -16,7 +16,7 @@ $anm_schluss = $db->query("SELECT DATE_Format(fachprojekt_einsicht, '%Y-%m-%d')A $row_schluss = $anm_schluss->fetch_array(); // Herausfinden des Beginndatums des vom Studenten gewählten Kurses $a = strtotime ($heute_format); //Umrechnung des Fristgrenztages in eine Zahl -$b = strtotime ($row_schluss[datum]); // Umrechnung des Beginndatums in eine Zahl +$b = strtotime ($row_schluss['datum']); // Umrechnung des Beginndatums in eine Zahl if ($a < $b){ echo " @@ -87,7 +87,7 @@ exit; $psn_abg = $db->query("SELECT uid FROM fach_wunsch WHERE uid=\"$uid1\""); $abgegeben = $psn_abg->fetch_array(); -if ($abgegeben[uid] == ""){ +if ($abgegeben['uid'] == ""){ echo " @@ -291,4 +291,4 @@ while ($row2 = $result2->fetch_array()){ } } -?> \ No newline at end of file +?>