2
0
forked from Wavyzz/dolibarr

Fix: wrong variable name

Fix: restore address.class.php, this class is used
This commit is contained in:
Regis Houssin
2013-11-20 09:40:56 +01:00
parent f305524e29
commit 4c29bddfda

View File

@@ -562,7 +562,7 @@ abstract class DolibarrModules
if (! $resql) $err++;
}
if (! $err && ! preg_match('/newboxdefonly/',$options))
if (! $err && ! preg_match('/newboxdefonly/',$option))
{
$lastid=$this->db->last_insert_id(MAIN_DB_PREFIX."boxes_def","rowid");