Corrige un bug d'affichage du tableau de variables
This commit is contained in:
parent
8d59c84598
commit
6e7fc67900
|
@ -134,7 +134,7 @@ class m_variables {
|
||||||
case 'DEFAULT':
|
case 'DEFAULT':
|
||||||
|
|
||||||
// $variables = $this->variable_merge(array(),$arr_var['DEFAULT'][NULL]);
|
// $variables = $this->variable_merge(array(),$arr_var['DEFAULT'][NULL]);
|
||||||
$variablesList = current($arr_var["DEFAULT"]);
|
$variablesList = current($arr_var["DEFAULT"]);
|
||||||
$variables = $this->variable_merge(array(),$variablesList);
|
$variables = $this->variable_merge(array(),$variablesList);
|
||||||
break;
|
break;
|
||||||
case 'GLOBAL':
|
case 'GLOBAL':
|
||||||
|
@ -372,7 +372,7 @@ class m_variables {
|
||||||
$output = "";
|
$output = "";
|
||||||
if (isset($tab[$strata][$id][$varname]['value'])) {
|
if (isset($tab[$strata][$id][$varname]['value'])) {
|
||||||
$v = $tab[$strata][$id][$varname]['value'];
|
$v = $tab[$strata][$id][$varname]['value'];
|
||||||
$output .= $this->display_valueraw_html($v, $varname);
|
$output .= $this->display_valueraw_html($v, $varname, false);
|
||||||
} else {
|
} else {
|
||||||
$output .= "<em>"._("None defined")."</em>";
|
$output .= "<em>"._("None defined")."</em>";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue