mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-21 17:02:19 +00:00
- Jahresplan aktualisiert
- Tempus Lehreinheiten Speichern - Tempus Lehreinheiten Neu/Loeschen Beta - Lehrveranstaltungen Syncro Beta
This commit is contained in:
@@ -125,6 +125,7 @@ class lehreinheit
|
||||
$this->updateamum = $row->updateamum;
|
||||
$this->updatevon = $row->updatevon;
|
||||
$this->ext_id = $row->ext_id;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
else
|
||||
@@ -414,7 +415,7 @@ class lehreinheit
|
||||
' ext_id='.$this->addslashes($this->ext_id).
|
||||
" WHERE lehreinheit_id=".$this->addslashes($this->lehreinheit_id).";";
|
||||
}
|
||||
|
||||
//echo $qry;
|
||||
if(pg_query($this->conn,$qry))
|
||||
{
|
||||
//Log schreiben
|
||||
@@ -631,7 +632,7 @@ class lehreinheit
|
||||
return true;
|
||||
else
|
||||
{
|
||||
$this->errormsg = pg_last_error($conn);
|
||||
$this->errormsg = pg_last_error($this->conn);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -409,6 +409,7 @@ class lehrveranstaltung
|
||||
}
|
||||
else
|
||||
{
|
||||
pg_query($this->conn, 'ROLLBACK');
|
||||
$this->errormsg = 'Fehler beim Speichern des Datensatzes';
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user