kleine constant Fehler geändert

This commit is contained in:
aschwarz 2023-03-01 15:50:40 +01:00
parent 6e90b91510
commit e713868110
3 changed files with 5 additions and 5 deletions

View File

@ -167,7 +167,7 @@ $res2 = $db->query("SELECT distinct status
LIMIT 1");
$stud_status = $res2->fetch_array();
if($stud_status[status] != '0'){
if($stud_status['status'] != '0'){
echo "

View File

@ -3546,12 +3546,12 @@ if(trim($db_vertiefungsbereich) == trim($vertiefungsbereich) AND
## Entweder es gibt zur DSTS einen Schlüssel, oder es wird einer angelegt und DS in tmp Tabelle gespeichert, bis Admin sie umträgt
if($row_key[dst_id] == ''){
if($row_key['dst_id'] == ''){
$res2 = $db->query("SELECT dst_id FROM stan_dienststellen_tmp WHERE bez='$bezeichnung' AND str='$str' AND plz='$plz' AND ort='$ort' AND postfach='$postfach' AND plz_postfach='$plz_postfach'");
$row_key2 = $res2->fetch_array();
if($row_key2[dst_id] == ''){
if($row_key2['dst_id'] == ''){
## Herausfinden, welches die max Dienststellen ID ist. Simulation einer Sequence
$res1 = $db->query("SELECT max(dst_id)+1 next FROM stan_dienststellen");
$row_next1 = $res1->fetch_array();
@ -3608,7 +3608,7 @@ if(trim($db_vertiefungsbereich) == trim($vertiefungsbereich) AND
LIMIT 1
");
$rowdata1a = $result_data1a->fetch_array();
$aendid = $rowdata1a[saaid]; # Wurde beim Vergleich, ob sich was geändert hat, schon selektiert
$aendid = $rowdata1a['saaid']; # Wurde beim Vergleich, ob sich was geändert hat, schon selektiert

View File

@ -646,7 +646,7 @@ oPopupBody.style.border = \"solid blue 1px\";
$fehler = 'X';
}
}elseif($row_minmax[ueber] == '0'){
}elseif($row_minmax['ueber'] == '0'){
echo "<font color=green><b>OK</b></font>";
}