#12792 fix 500 change agent inventory

This commit is contained in:
Jonathan 2024-01-23 11:27:15 +01:00
parent eba0ce9e80
commit fc08e9b9b6
1 changed files with 2 additions and 1 deletions

View File

@ -26,7 +26,8 @@
* ============================================================================
*/
check_login();
require_once $config['homedir'].'/include/functions_inventory.php';
check_login();
if (is_ajax() === true) {
$id_agent = get_parameter('id_agent', '0');