Skip to content

Commit fa1448f

Browse files
committed
Corrected issues with automated checks
1 parent 141604f commit fa1448f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

inc/model.class.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1343,8 +1343,7 @@ public static function checkRightOnModel($models_id)
13431343
$continue = true;
13441344

13451345
$model = new self();
1346-
1347-
if($model->getFromDB($models_id)){
1346+
if ($model->getFromDB($models_id)) {
13481347
$query = "(SELECT `itemtype`
13491348
FROM `glpi_plugin_datainjection_models`
13501349
WHERE `id` = '" . $models_id . "')

0 commit comments

Comments
 (0)