forked from Wavyzz/dolibarr
Fix warning
This commit is contained in:
@@ -112,25 +112,25 @@ class BuildDocTest extends PHPUnit\Framework\TestCase
|
||||
{
|
||||
global $conf,$user,$langs,$db;
|
||||
|
||||
if (! $conf->facture->enabled) {
|
||||
if (!isModEnabled('facture')) {
|
||||
print __METHOD__." invoice module not enabled\n"; die(1);
|
||||
}
|
||||
if (! $conf->commande->enabled) {
|
||||
if (!isModEnabled('commande')) {
|
||||
print __METHOD__." order module not enabled\n"; die(1);
|
||||
}
|
||||
if (! $conf->propal->enabled) {
|
||||
if (!isModEnabled('propal')) {
|
||||
print __METHOD__." propal module not enabled\n"; die(1);
|
||||
}
|
||||
if (! $conf->project->enabled) {
|
||||
if (!isModEnabled('project')) {
|
||||
print __METHOD__." project module not enabled\n"; die(1);
|
||||
}
|
||||
if (! $conf->expedition->enabled) {
|
||||
if (!isModEnabled('expedition')) {
|
||||
print __METHOD__." shipment module not enabled\n"; die(1);
|
||||
}
|
||||
if (! $conf->ficheinter->enabled) {
|
||||
if (!isModEnabled('ficheinter')) {
|
||||
print __METHOD__." intervention module not enabled\n"; die(1);
|
||||
}
|
||||
if (! $conf->expensereport->enabled) {
|
||||
if (!isModEnabled('expensereport')) {
|
||||
print __METHOD__." expensereport module not enabled\n"; die(1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user