Skip to content

Commit 0a376a0

Browse files
stonebuzzcedric-anne
authored andcommitted
Apply suggestion from @cedric-anne
Co-authored-by: Cédric Anne <canne@teclib.com>
1 parent 3c694f4 commit 0a376a0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

inc/inventoryaction.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ public static function postItemForm($item)
169169
return;
170170
}
171171

172-
if (!Session::checkRight("database_inventory", PluginDatabaseinventoryProfile::RUN_DATABSE_INVENTORY)) {
172+
if (!Session::haveRight("database_inventory", PluginDatabaseinventoryProfile::RUN_DATABSE_INVENTORY)) {
173173
return;
174174
}
175175

0 commit comments

Comments
 (0)