kleine constant Fehler geändert
This commit is contained in:
@ -111,7 +111,7 @@ if($action == ''){
|
||||
WHERE vid='$id'
|
||||
AND imtuid='$row2[imtuid]'") or die(mysql_error()); // Change users to the database where you keep your usernames, and likewise with username
|
||||
$row_dis_gut = $query_dis_gut->fetch_array();
|
||||
if($row_dis_gut[Anz] > 0){
|
||||
if($row_dis_gut['Anz'] > 0){
|
||||
$disable_gut = 1;
|
||||
}else{
|
||||
$disable_gut = 0;
|
||||
@ -123,22 +123,22 @@ if($action == ''){
|
||||
WHERE vid='$id'
|
||||
AND imtuid='$row2[imtuid]'") or die(mysql_error()); // Change users to the database where you keep your usernames, and likewise with username
|
||||
$row_dis_bet = $query_dis_bet->fetch_array();
|
||||
if($row_dis_bet[Anz] > 0){
|
||||
if($row_dis_bet['Anz'] > 0){
|
||||
$disable_bet = 1;
|
||||
}else{
|
||||
$disable_bet = 0;
|
||||
}
|
||||
|
||||
|
||||
if($row2[imtuid] == $_GET[userid]){
|
||||
if($row2['imtuid'] == $_GET['userid']){
|
||||
$selected = 1;
|
||||
}else{
|
||||
$selected = 0;
|
||||
}
|
||||
array_push($table_data2, array(
|
||||
'imtuid' => $row2[imtuid],
|
||||
'vorname' => $row2[vorname],
|
||||
'nachname' => $row2[nachname],
|
||||
'imtuid' => $row2['imtuid'],
|
||||
'vorname' => $row2['vorname'],
|
||||
'nachname' => $row2['nachname'],
|
||||
'disable_bet' => $disable_bet,
|
||||
'disable_gut' => $disable_gut,
|
||||
'selected' => $selected
|
||||
@ -888,4 +888,4 @@ if($action == 'anschreiben1'){
|
||||
$smarty->assign('action', "$action");
|
||||
$smarty->display("$template/$templatename");
|
||||
|
||||
?>
|
||||
?>
|
||||
|
Reference in New Issue
Block a user