This commit is contained in:
Karl Burkhart
2010-11-22 13:34:50 +00:00
parent 498a395aac
commit 8eaaec9b41
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -299,7 +299,7 @@ class wawi_bestellung extends basis_db
$qry.= ' and ';
$qry.= ' not exists (Select bestellung.bestellung_id from wawi.tbl_rechnung rechnung where rechnung.bestellung_id=bestellung.bestellung_id)';
}
echo $qry;
if(!$this->db_query($qry))
{
$this->errormsg = "Fehler bei der Datenbankabfrage.";
+1 -1
View File
@@ -496,7 +496,7 @@ class wawi_kostenstelle extends basis_db
*/
public function loadArray($array)
{
$qry = 'SELECT * FROM wawi.tbl_kostenstelle WHERE kostenstelle_id IN('.$this->implode4SQL($array).');';
$qry = 'SELECT * FROM wawi.tbl_kostenstelle WHERE kostenstelle_id IN('.$this->implode4SQL($array).') ORDER BY bezeichnung;';
if(!$this->db_query($qry))
{