From 6bcb4bddf6f2a02bd327deabfe4cf29a5538a185 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 3 Nov 2009 07:56:16 +0000 Subject: [PATCH] Enabled selection of departments with special chars git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14727 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_MultiSelectWindow.inc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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.= ""; } } -- 2.30.2