Logikfehler beim UID-Parsen

Wird nur eine einzelne UID als Parameter übergeben,  erkennt es
$student_obj->load($uids[1]) nicht als Array und liefert 0.

Rechteänderung bei stpl_week_anzahl_studenten.php
This commit is contained in:
kindlm
2015-05-08 15:54:09 +02:00
parent f09073c658
commit 2c5acb74ef
2 changed files with 9 additions and 9 deletions
+3 -1
View File
@@ -77,7 +77,7 @@ else
if(strstr($_GET['uid'],';'))
$uids = explode(';',$_GET['uid']);
else
$uids = $_GET['uid'];
$uids[1] = $_GET['uid'];
$student_obj = new student();
if($student_obj->load($uids[1]))
@@ -87,6 +87,8 @@ else
}
}
}
echo $xsl_stg_kz;
exit;
if(isset($_GET['xsl_oe_kurzbz']))
$xsl_oe_kurzbz=$_GET['xsl_oe_kurzbz'];
else