This commit is contained in:
Andreas Österreicher
2007-12-04 16:54:10 +00:00
parent 9e896a2fb0
commit 739ea06438
8 changed files with 394 additions and 39 deletions
+4 -10
View File
@@ -225,21 +225,15 @@ class zeugnisnote
'AND studiensemester_kurzbz='.$this->addslashes($this->studiensemester_kurzbz).';';
}
if(pg_send_query($this->conn, $qry))
//if(pg_query($this->conn, $qry))
//if(pg_send_query($this->conn, $qry))
if(pg_query($this->conn, $qry))
{
if ($result=pg_get_result($this->conn))
return true;
else
{
$this->errormsg='Fehler beim Speichern der Zeugnisnote:'.pg_result_error();
return false;
}
return true;
}
else
{
//echo $qry;
$this->errormsg='Fehler beim senden der BD-Abfrage (Class: zeugnisnote->save())';
$this->errormsg='Fehler beim Speichern der Zeugnisnote';
return false;
}
}