Fix: global $conf manquant

This commit is contained in:
Regis Houssin 2010-04-16 13:43:40 +00:00
parent bb28c51c1a
commit 9935122b67

View File

@ -2000,6 +2000,8 @@ class Propal extends CommonObject
*/
function verifyNumRef($soc)
{
global $conf;
$sql = "SELECT rowid";
$sql.= " FROM ".MAIN_DB_PREFIX."propal";
$sql.= " WHERE ref = '".$this->ref."'";