diff --git a/inc/computergroup.class.php b/inc/computergroup.class.php index 90a9cf1..5bbd605 100644 --- a/inc/computergroup.class.php +++ b/inc/computergroup.class.php @@ -1,4 +1,5 @@ getFromDB($staticgroup['computers_id'])) { $listofcomputers[] = $computers->fields + - [ - 'entityname' => Entity::getById($computers->fields['entities_id'])->fields['completename'], - 'link' => $computers->getLinkURL(), - 'idcompgroupstatic' => $staticgroup['id'], - ]; + [ + 'entityname' => Entity::getById($computers->fields['entities_id'])->fields['completename'], + 'link' => $computers->getLinkURL(), + 'idcompgroupstatic' => $staticgroup['id'], + ]; } } TemplateRenderer::getInstance()->display( diff --git a/inc/contactlog.class.php b/inc/contactlog.class.php index c18d8e5..d327e20 100644 --- a/inc/contactlog.class.php +++ b/inc/contactlog.class.php @@ -1,4 +1,5 @@ getFromDB($dbpcgroup['plugin_databaseinventory_computergroups_id'])) { $listofcgroups[] = $dbcgroups->fields + - [ - 'link' => $dbcgroups->getLinkURL(), - 'nbdynamicitems' => $dbcgroups->countDynamicItem(), - 'nbstaticitems' => $dbcgroups->countStaticItem(), - 'iddbparamcgroup' => $dbpcgroup['id'], - ]; + [ + 'link' => $dbcgroups->getLinkURL(), + 'nbdynamicitems' => $dbcgroups->countDynamicItem(), + 'nbstaticitems' => $dbcgroups->countStaticItem(), + 'iddbparamcgroup' => $dbpcgroup['id'], + ]; } } TemplateRenderer::getInstance()->display( diff --git a/inc/databaseparam_credential.class.php b/inc/databaseparam_credential.class.php index c25eb64..5dea0f7 100644 --- a/inc/databaseparam_credential.class.php +++ b/inc/databaseparam_credential.class.php @@ -1,4 +1,5 @@ getFromDB($dbpcredential['plugin_databaseinventory_credentials_id'])) { $listofcredentials[] = $dbcredentials->fields + - [ - 'type' => Dropdown::getDropdownName( - PluginDatabaseinventoryCredentialType::getTable(), - $dbcredentials->fields['plugin_databaseinventory_credentialtypes_id'] - ), - 'link' => $dbcredentials->getLinkURL(), - 'iddbparamcredential' => $dbpcredential['id'], - ]; + [ + 'type' => Dropdown::getDropdownName( + PluginDatabaseinventoryCredentialType::getTable(), + $dbcredentials->fields['plugin_databaseinventory_credentialtypes_id'] + ), + 'link' => $dbcredentials->getLinkURL(), + 'iddbparamcredential' => $dbpcredential['id'], + ]; } } TemplateRenderer::getInstance()->display(