diff --git a/htdocs/admin/system/constall.php b/htdocs/admin/system/constall.php
index 4d25541fcad..7db835a9723 100644
--- a/htdocs/admin/system/constall.php
+++ b/htdocs/admin/system/constall.php
@@ -111,28 +111,33 @@ print ''."\n";
$i=0;
foreach($configfileparameters as $key)
{
- if ($key == 'dolibarr_main_url_root_alt' && empty(${$key})) continue;
- if ($key == 'dolibarr_main_document_root_alt' && empty(${$key})) continue;
+ $ignore=0;
+
+ if ($key == 'dolibarr_main_url_root_alt' && empty(${$key})) $ignore=1;
+ if ($key == 'dolibarr_main_document_root_alt' && empty(${$key})) $ignore=1;
- $var=!$var;
- print "
";
- if ($key == 'separator')
+ if (empty($ignore))
{
- print '| | ';
+ $var=!$var;
+ print "
";
+ if ($key == 'separator')
+ {
+ print '| | ';
+ }
+ else
+ {
+ // Label
+ print "".$configfilelib[$i].' | ';
+ // Key
+ print ''.$key.' | ';
+ // Value
+ print "";
+ if ($key == 'dolibarr_main_db_pass') print preg_replace('/./i','*',${$key});
+ else print ${$key};
+ print " | ";
+ }
+ print "
\n";
}
- else
- {
- // Label
- print "".$configfilelib[$i].' | ';
- // Key
- print ''.$key.' | ';
- // Value
- print "";
- if ($key == 'dolibarr_main_db_pass') print preg_replace('/./i','*',${$key});
- else print ${$key};
- print " | ";
- }
- print "\n";
$i++;
}
print '';