kleine constant Fehler geändert
This commit is contained in:
@ -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");
|
||||
?>
|
||||
?>
|
||||
|
Reference in New Issue
Block a user