Merge pull request #23137 from bb2a/FIX---PHP-Warning-and-use-isModEnabled
FIX - PHP Warning and use isModEnabled
This commit is contained in:
commit
99a7f928d2
@ -2528,7 +2528,7 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($action)) {
|
|||||||
print '</td>';
|
print '</td>';
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($object->isService() && $conf->workstation->enabled) {
|
if ($object->isService() && isModEnabled('workstation')) {
|
||||||
$workstation = new Workstation($db);
|
$workstation = new Workstation($db);
|
||||||
$res = $workstation->fetch($object->fk_default_workstation);
|
$res = $workstation->fetch($object->fk_default_workstation);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user