Merge branch 'ent-12792-error-500-en-inventario-al-cambiar-de-agente' into 'develop'

Ent 12792 error 500 en inventario al cambiar de agente

See merge request artica/pandorafms!6877
This commit is contained in:
Matias Didier 2024-01-23 14:43:51 +00:00
commit a93c9985ec
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) { if (is_ajax() === true) {
$id_agent = get_parameter('id_agent', '0'); $id_agent = get_parameter('id_agent', '0');