Fix: global $conf manquant
This commit is contained in:
parent
bb28c51c1a
commit
9935122b67
@ -2000,6 +2000,8 @@ class Propal extends CommonObject
|
|||||||
*/
|
*/
|
||||||
function verifyNumRef($soc)
|
function verifyNumRef($soc)
|
||||||
{
|
{
|
||||||
|
global $conf;
|
||||||
|
|
||||||
$sql = "SELECT rowid";
|
$sql = "SELECT rowid";
|
||||||
$sql.= " FROM ".MAIN_DB_PREFIX."propal";
|
$sql.= " FROM ".MAIN_DB_PREFIX."propal";
|
||||||
$sql.= " WHERE ref = '".$this->ref."'";
|
$sql.= " WHERE ref = '".$this->ref."'";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user