Fix warning
This commit is contained in:
parent
abadd2b803
commit
8b3edd36ea
@ -1091,7 +1091,7 @@ class Product extends CommonObject
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!$error) {
|
if (!$error) {
|
||||||
if ($conf->variants->enabled) {
|
if (!empty($conf->variants->enabled)) {
|
||||||
include_once DOL_DOCUMENT_ROOT.'/variants/class/ProductCombination.class.php';
|
include_once DOL_DOCUMENT_ROOT.'/variants/class/ProductCombination.class.php';
|
||||||
|
|
||||||
$comb = new ProductCombination($this->db);
|
$comb = new ProductCombination($this->db);
|
||||||
|
|||||||
@ -334,25 +334,6 @@ class ContactTest extends PHPUnit\Framework\TestCase
|
|||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* testContactStatic
|
|
||||||
*
|
|
||||||
* @return void
|
|
||||||
*/
|
|
||||||
public function testContactStatic()
|
|
||||||
{
|
|
||||||
global $conf,$user,$langs,$db;
|
|
||||||
$conf=$this->savconf;
|
|
||||||
$user=$this->savuser;
|
|
||||||
$langs=$this->savlangs;
|
|
||||||
$db=$this->savdb;
|
|
||||||
|
|
||||||
$localobject=new Contact($db);
|
|
||||||
|
|
||||||
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* testContactGetFullAddress
|
* testContactGetFullAddress
|
||||||
*
|
*
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user