kleine constant Fehler geändert

This commit is contained in:
aschwarz
2023-03-14 08:08:06 +01:00
parent 1bf9923edf
commit c00fb6812e
20 changed files with 163 additions and 163 deletions

View File

@ -30,7 +30,7 @@ $result_vorh = $db->query("SELECT count(*) Anz
WHERE vid=$id");
$row_vorh = $result_vorh->fetch_array();
if($row_vorh[Anz] == 0){
if($row_vorh['Anz'] == 0){
$smarty->assign('bearbeiten_err', "1");
}else{
$smarty->assign('bearbeiten_err', "0");
@ -39,4 +39,4 @@ if($row_vorh[Anz] == 0){
$smarty->display("$template/$templatename");
?>
?>