kleine constant Fehler geändert
This commit is contained in:
18
edit.php
18
edit.php
@ -61,7 +61,7 @@ if($action == ''){
|
||||
ORDER BY erfass_dat ASC");
|
||||
$row_status = $result_status->fetch_array();
|
||||
|
||||
switch ($row[beziehung])
|
||||
switch ($row['beziehung'])
|
||||
{
|
||||
case "P":
|
||||
$beziehung = "ProfessorIn";
|
||||
@ -115,16 +115,16 @@ if($action == ''){
|
||||
|
||||
while ($row2 = $result2->fetch_array()){
|
||||
|
||||
if($row2[kid] == $row[kategorie]){
|
||||
if($row2['kid'] == $row['kategorie']){
|
||||
$selected = "1";
|
||||
}else{
|
||||
$selected = "0";
|
||||
}
|
||||
|
||||
array_push($table_data2, array(
|
||||
'kid' => $row2[kid],
|
||||
'kid' => $row2['kid'],
|
||||
'selected' => $selected,
|
||||
'kategorie' => $row2[kategorie]
|
||||
'kategorie' => $row2['kategorie']
|
||||
)
|
||||
);
|
||||
}
|
||||
@ -139,7 +139,7 @@ if($action == ''){
|
||||
ORDER BY datum DESC
|
||||
LIMIT 1");
|
||||
$row2a = $result2a->fetch_array();
|
||||
if($row2a[status] == 1){
|
||||
if($row2a['status'] == 1){
|
||||
$smarty->assign('edit_ablehnen_bttn', "1");
|
||||
$smarty->assign('edit_ablehnen_vid', "$id");
|
||||
}
|
||||
@ -180,7 +180,7 @@ if($action == ''){
|
||||
$table_data3 = array();
|
||||
$verlauf_dup = array("");
|
||||
while ($row3 = $result3->fetch_array()){
|
||||
$status = $row3[status];
|
||||
$status = $row3['status'];
|
||||
|
||||
if($row3['sid'] == '103'){
|
||||
# Da jedes Ausschussmitglied informiert wird, reicht es aus, wenn bei den Statusdetails nur ein Hinweis pro Gutachter genannt wird, nicht 5x pro Person
|
||||
@ -194,7 +194,7 @@ if($action == ''){
|
||||
|
||||
if (!in_array($status, $verlauf_dup)) {
|
||||
$verlauf_dup[] = "$status";
|
||||
$status = $row3[status];
|
||||
$status = $row3['status'];
|
||||
}else{
|
||||
$status = "";
|
||||
}
|
||||
@ -209,7 +209,7 @@ if($action == ''){
|
||||
}
|
||||
|
||||
array_push($table_data3, array(
|
||||
'datum1' => $row3[datum1],
|
||||
'datum1' => $row3['datum1'],
|
||||
'info' => $info,
|
||||
'status' => $status
|
||||
)
|
||||
@ -465,4 +465,4 @@ if($action == 'ablehnung2'){
|
||||
|
||||
$smarty->assign('action', "$action");
|
||||
$smarty->display("$template/$templatename");
|
||||
?>
|
||||
?>
|
||||
|
Reference in New Issue
Block a user