Skip to content

Commit

Permalink
Merge pull request #1602 from OCSInventory-NG/fix_warnings_ipd_dir
Browse files Browse the repository at this point in the history
refactor(IpDiscover): fix warnings on ms_custom_info
  • Loading branch information
charleneauger committed Apr 23, 2024
2 parents 38916aa + d7eabb0 commit 0365580
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/main_sections/ms_ipdiscover/ms_custom_info.php
Expand Up @@ -382,7 +382,7 @@
echo open_form($form_name, '', '', 'form-horizontal');
$result_exist = ajaxtab_entete_fixe($list_fields, $default_fields, $tab_options, $list_col_cant_del);
$fipdisc = "ipdiscover-util.pl";
$values = look_config_default_values(array('IPDISCOVER_IPD_DIR'), '', array('IPDISCOVER_IPD_DIR' => array('TVALUE' => VARLIB_DIR)));
$values = look_config_default_values(array('IPDISCOVER_IPD_DIR'), '',array('TVALUE' => array('IPDISCOVER_IPD_DIR' => VARLIB_DIR)));
$IPD_DIR = $values['tvalue']['IPDISCOVER_IPD_DIR'] . "/ipd";
if ($scriptPresent = @stat($fipdisc)) {
$filePresent = true;
Expand Down

0 comments on commit 0365580

Please sign in to comment.