2
0
forked from Wavyzz/dolibarr

Fix warning

This commit is contained in:
Laurent Destailleur
2023-04-15 03:16:53 +02:00
parent f02ff3f774
commit b55271dedb
20 changed files with 43 additions and 41 deletions

View File

@@ -82,7 +82,7 @@ class ProductTest extends PHPUnit\Framework\TestCase
{
global $conf,$user,$langs,$db;
if (empty($conf->produit->enabled)) {
if (!isModEnabled('produit')) {
print __METHOD__." Module Product must be enabled.\n"; die(1);
}