mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Fix warning
This commit is contained in:
parent
abadd2b803
commit
8b3edd36ea
|
|
@ -1091,7 +1091,7 @@ class Product extends CommonObject
|
|||
}
|
||||
|
||||
if (!$error) {
|
||||
if ($conf->variants->enabled) {
|
||||
if (!empty($conf->variants->enabled)) {
|
||||
include_once DOL_DOCUMENT_ROOT.'/variants/class/ProductCombination.class.php';
|
||||
|
||||
$comb = new ProductCombination($this->db);
|
||||
|
|
|
|||
|
|
@ -334,25 +334,6 @@ class ContactTest extends PHPUnit\Framework\TestCase
|
|||
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
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user