summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 39b429e)
raw | patch | inline | side by side (parent: 39b429e)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 21 Oct 2010 12:49:39 +0000 (12:49 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 21 Oct 2010 12:49:39 +0000 (12:49 +0000) |
-Allow to have two of it on a single page
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20110 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20110 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_releaseSelector.inc | patch | blob | history |
diff --git a/gosa-core/include/class_releaseSelector.inc b/gosa-core/include/class_releaseSelector.inc
index 5e8d934f211c34e08c2ccef9ce4f35c9ba773f31..fe62b530e3f04569c119237a92929c8968091186 100644 (file)
// Analyze for base changes if needed
$this->action= null;
$last_base= $this->base;
- if(isset($_REQUEST['BPID']) && $_REQUEST['BPID'] == $this->pid) {
+ if(isset($_REQUEST["BPID_{$this->pid}"]) && $_REQUEST["BPID_{$this->pid}"] == $this->pid) {
if (isset($_POST['bs_rebase_'.$this->pid]) && !empty($_POST['bs_rebase_'.$this->pid])) {
$new_base= base64_decode(get_post('bs_rebase_'.$this->pid));
if (isset($this->pathMapping[$new_base])) {
}
$this->tree.= "<input type='submit' style='display:none' name='submit_tree_base_".$this->pid."' id='submit_tree_base_".$this->pid."'>";
$this->tree.= "<input type='hidden' name='bs_rebase_".$this->pid."' id='bs_rebase_".$this->pid."'>";
- $this->tree.= "<input type='hidden' name='BPID' id='BPID' value='".$this->pid."'>";
+ $this->tree.= "<input type='hidden' name='BPID_{$this->pid}' id='BPID_{$this->pid}' value='".$this->pid."'>";
$this->lastState= true;
return true;
function getAction()
{
// Do not do anything if this is not our BPID, or there's even no BPID available...
- if(!isset($_REQUEST['BPID']) || $_REQUEST['BPID'] != $this->pid) {
+ if(!isset($_REQUEST["BPID_{$this->pid}"]) || $_REQUEST["BPID_{$this->pid}"] != $this->pid) {
return;
}