- Schema vor Tabellennamen in Klassen eingefuegt

- Inventarsuche hinzugefügt
This commit is contained in:
Andreas Österreicher
2007-01-08 09:30:38 +00:00
parent 82fbdbdce8
commit 63a31f1b21
22 changed files with 61 additions and 685 deletions
+2 -2
View File
@@ -115,7 +115,7 @@ class benutzer extends person
if($this->new) //Wenn new true ist dann ein INSERT absetzen ansonsten ein UPDATE
{
$qry = 'INSERT INTO tbl_benutzer (uid, aktiv, alias, person_id, insertamum, insertvon, updateamum, updatevon) VALUES('.
$qry = 'INSERT INTO public.tbl_benutzer (uid, aktiv, alias, person_id, insertamum, insertvon, updateamum, updatevon) VALUES('.
"'".addslashes($this->uid)."',".
($this->aktiv?'true':'false').','.
$this->addslashes($this->alias).",'".
@@ -127,7 +127,7 @@ class benutzer extends person
}
else
{
$qry = 'UPDATE tbl_benutzer SET'.
$qry = 'UPDATE public.tbl_benutzer SET'.
' aktiv='.($this->aktiv?'true':'false').','.
' alias='.$this->addslashes($this->alias).','.
" person_id='".$this->person_id."',".