This commit is contained in:
Karl Burkhart
2010-11-26 13:47:28 +00:00
parent c2d33ac1af
commit 4dfdf960b0
2 changed files with 8 additions and 7 deletions
+7 -5
View File
@@ -41,7 +41,6 @@ class wawi_bestellstatus extends basis_db
public $updatevon;
public $updateamum;
public $bestellstatus_kurzbz;
/**
*
@@ -153,14 +152,17 @@ class wawi_bestellstatus extends basis_db
$qry = "select bestellstatus.* from wawi.tbl_bestellung_bestellstatus as bestellstatus
where
bestellung = ".$this->addslashes($bestellung_id)." and bestellstatus_kurzbz = ".$this->addslashes($status_kurzbz).";";
bestellung_id = ".$this->addslashes($bestellung_id)." and bestellstatus_kurzbz = ".$this->addslashes($status_kurzbz).";";
if($this->db_query($qry))
{
if($row = $this->db_fetch_object())
return true;
else
return false;
{
$this->datum = $row->datum;
return true;
}
else
return false;
}
else
{
+1 -2
View File
@@ -478,8 +478,7 @@ class wawi_bestellung extends basis_db
bemerkung = '.$this->addslashes($this->bemerkung).',
liefertermin = '.$this->addslashes($this->liefertermin).',
updateamum = '.$this->addslashes($this->updateamum).',
insertamum = '.$this->addslashes($this->insertamum).',
insertvon = '.$this->addslashes($this->insertvon).',
updatevon ='.$this->addslashes($this->udpatevon).',
ext_id = '.$this->addslashes($this->ext_id).' WHERE bestellung_id = '.$this->bestellung_id.';';
}
if($this->db_query($qry))