This commit is contained in:
Laurent Destailleur 2013-01-17 17:45:41 +01:00
commit 72dbeadc49
2 changed files with 1 additions and 2 deletions

View File

@ -2710,7 +2710,6 @@ class PropaleLigne
}
$sql.= " , marge_tx='".$this->marge_tx."'";
$sql.= " , marque_tx='".$this->marque_tx."'";
$sql.= " , info_bits=".$this->info_bits;
if (strlen($this->special_code)) $sql.= " , special_code=".$this->special_code;
$sql.= " , fk_parent_line=".($this->fk_parent_line>0?$this->fk_parent_line:"null");
if (! empty($this->rang)) $sql.= ", rang=".$this->rang;

View File

@ -126,7 +126,7 @@ if ($_GET["filtre"])
if (GETPOST("search_ref"))
{
$sql .= " AND fac.rowid like '%".$db->escape(GETPOST("search_ref"))."%'";
$sql .= " AND fac.rowid = ".$db->escape(GETPOST("search_ref"));
}
if (GETPOST("search_ref_supplier"))
{