html is not a global.. confusing yes.

This commit is contained in:
Isaac Connor 2022-02-12 22:17:03 -05:00
parent e3631099f6
commit f47aa98b43
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ $html .= '<input type="text" name="MonitorName" value="'.(isset($_SESSION['Monit
$html .= '</span>'.PHP_EOL; $html .= '</span>'.PHP_EOL;
function addFilterSelect($name, $options) { function addFilterSelect($name, $options) {
$html .= '<span class="'.$name.'Filter"><label>'.translate($name).'</label>'; $html = '<span class="'.$name.'Filter"><label>'.translate($name).'</label>';
$html .= htmlSelect($name.'[]', $options, $html .= htmlSelect($name.'[]', $options,
(isset($_SESSION[$name])?$_SESSION[$name]:''), (isset($_SESSION[$name])?$_SESSION[$name]:''),
array( array(