Cronjob zur automatisierten Prüfungsbenachrichtigung; Anpassungen Dokumente KTU

This commit is contained in:
Stefan Puraner
2014-09-30 09:43:05 +00:00
parent d88702100b
commit bcaa518d50
4 changed files with 28 additions and 17 deletions
+1 -1
View File
@@ -70,7 +70,7 @@ class lvinfo extends basis_db
*/
public function getAll()
{
$qry = 'SELECT * FROM campus.tbl_lvinfo ORDER BY lvinfo_id;';
$qry = 'SELECT * FROM campus.tbl_lvinfo ORDER BY lehrveranstaltung_id;';
if(!$this->db_query($qry))
{
+5
View File
@@ -226,6 +226,11 @@ class pruefungsanmeldung extends basis_db {
{
$qry .= ' AND lehrveranstaltung_id='.$this->db_add_param($lehrveranstaltung_id);
}
if($status_kurzbz !== null)
{
$qry .= ' AND status_kurzbz='.$this->db_add_param($status_kurzbz);
}
$qry .=' ORDER BY reihung';
$qry .=';';