Sync Scripte Vilesci->Portal

This commit is contained in:
Andreas Österreicher
2006-12-07 16:11:58 +00:00
parent a73b530656
commit e7a462caec
28 changed files with 1767 additions and 1785 deletions
+2 -2
View File
@@ -107,14 +107,14 @@ class stunde
if($this->new)
{
$qry = "INSERT INTO tbl_stunde (stunde, beginn, ende)
$qry = "INSERT INTO lehre.tbl_stunde (stunde, beginn, ende)
VALUES('".$this->stunde."',".
$this->addslashes($this->beginn).','.
$this->addslashes($this->ende).');';
}
else
{
$qry = 'UPDATE tbl_stunde SET'.
$qry = 'UPDATE lehre.tbl_stunde SET'.
' beginn='.$this->addslashes($this->beginn).','.
' ende='.$this->addslashes($this->ende).
" WHERE stunde=".$this->stunde;