This commit is contained in:
Andreas Österreicher
2007-06-19 15:42:18 +00:00
parent 09563dfe11
commit 37f7e12d54
23 changed files with 587 additions and 38 deletions
+1 -1
View File
@@ -588,7 +588,7 @@ class prestudent extends person
function getLastStatus($prestudent_id)
{
$qry = "SELECT * FROM tbl_prestudentrolle WHERE prestudent_id='$prestudent_id' ORDER BY datum DESC LIMIT 1";
$qry = "SELECT * FROM public.tbl_prestudentrolle WHERE prestudent_id='$prestudent_id' ORDER BY datum DESC LIMIT 1";
if($result = pg_query($this->conn, $qry))
{
if($row = pg_fetch_object($result))