Fix: SQL error
This commit is contained in:
parent
1ec8213630
commit
234a39adea
@ -375,6 +375,8 @@ class Fichinter extends CommonObject
|
|||||||
*/
|
*/
|
||||||
function verifyNumRef($soc)
|
function verifyNumRef($soc)
|
||||||
{
|
{
|
||||||
|
global $conf;
|
||||||
|
|
||||||
$sql = "SELECT rowid";
|
$sql = "SELECT rowid";
|
||||||
$sql.= " FROM ".MAIN_DB_PREFIX."fichinter";
|
$sql.= " FROM ".MAIN_DB_PREFIX."fichinter";
|
||||||
$sql.= " WHERE ref = '".$this->ref."'";
|
$sql.= " WHERE ref = '".$this->ref."'";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user