From: hickert Date: Tue, 3 Nov 2009 07:56:16 +0000 (+0000) Subject: Enabled selection of departments with special chars X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=6bcb4bddf6f2a02bd327deabfe4cf29a5538a185;p=gosa.git Enabled selection of departments with special chars git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14727 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_MultiSelectWindow.inc b/gosa-core/include/class_MultiSelectWindow.inc index 5e4181c4a..9c9bd5071 100644 --- a/gosa-core/include/class_MultiSelectWindow.inc +++ b/gosa-core/include/class_MultiSelectWindow.inc @@ -531,7 +531,7 @@ class MultiSelectWindow{ /* Save base selection from headpage selectbox */ if(isset($_POST['CurrentMainBase'])){ - $this->selectedBase = $_POST['CurrentMainBase']; + $this->selectedBase = get_post('CurrentMainBase'); session::global_set("CurrentMainBase", $this->selectedBase); } else { $this->selectedBase= session::global_get("CurrentMainBase"); @@ -775,11 +775,13 @@ class MultiSelectWindow{ $first = $value; } + + $v_value = htmlentities($value,ENT_QUOTES); if ($this->selectedBase == $value){ $found = TRUE; - $options.= ""; + $options.= ""; } else { - $options.= ""; + $options.= ""; } }