summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 71424e8)
raw | patch | inline | side by side (parent: 71424e8)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 3 Nov 2009 07:56:16 +0000 (07:56 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 3 Nov 2009 07:56:16 +0000 (07:56 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14727 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_MultiSelectWindow.inc | patch | blob | history |
diff --git a/gosa-core/include/class_MultiSelectWindow.inc b/gosa-core/include/class_MultiSelectWindow.inc
index 5e4181c4a8540a512a44c11afe81306137c9223a..9c9bd5071763836acd638b6201d0f0a983b95fd5 100644 (file)
/* 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");
$first = $value;
}
+
+ $v_value = htmlentities($value,ENT_QUOTES);
if ($this->selectedBase == $value){
$found = TRUE;
- $options.= "<option selected='selected' value='".$value."'>$name</option>";
+ $options.= "<option selected='selected' value=\"".$v_value."\">$name</option>";
} else {
- $options.= "<option value='".$value."'>$name</option>";
+ $options.= "<option value=\"".$v_value."\">$name</option>";
}
}