From 394f2d0c5e79df27c8538d7cf4dc731ec998c9fe Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 21 Oct 2010 12:49:39 +0000 Subject: [PATCH] Updated baseSelector -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 --- gosa-core/include/class_releaseSelector.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gosa-core/include/class_releaseSelector.inc b/gosa-core/include/class_releaseSelector.inc index 5e8d934f2..fe62b530e 100644 --- a/gosa-core/include/class_releaseSelector.inc +++ b/gosa-core/include/class_releaseSelector.inc @@ -138,7 +138,7 @@ class releaseSelector { // 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])) { @@ -263,7 +263,7 @@ class releaseSelector { } $this->tree.= ""; $this->tree.= ""; - $this->tree.= ""; + $this->tree.= ""; $this->lastState= true; return true; @@ -291,7 +291,7 @@ class releaseSelector { 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; } -- 2.30.2