Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions inc/model.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -1345,6 +1345,10 @@ public static function checkRightOnModel($models_id)

$continue = true;

if(empty($models_id)){
$models_id = '-1';
}

$query = "(SELECT `itemtype`
FROM `glpi_plugin_datainjection_models`
WHERE `id` = '" . $models_id . "')
Expand Down