FIX - PHP Warning and use isModEnabled
This commit is contained in:
parent
291cb1908d
commit
4ba0283e0b
@ -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