summaryrefslogtreecommitdiffstats
path: root/application/controllers
diff options
context:
space:
mode:
authorSebastian Wagner2011-10-27 10:46:55 +0200
committerSebastian Wagner2011-10-27 10:46:55 +0200
commit78090f3a461c819a1d24b2494a7e30d241833b01 (patch)
tree54d20e66e4eb9685955c6c2a2cddcbd55e154276 /application/controllers
parentbugfix (diff)
downloadpoolctrl-78090f3a461c819a1d24b2494a7e30d241833b01.tar.gz
poolctrl-78090f3a461c819a1d24b2494a7e30d241833b01.tar.xz
poolctrl-78090f3a461c819a1d24b2494a7e30d241833b01.zip
bugfix
Diffstat (limited to 'application/controllers')
-rwxr-xr-xapplication/controllers/EventController.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/application/controllers/EventController.php b/application/controllers/EventController.php
index 0cb4954..a236817 100755
--- a/application/controllers/EventController.php
+++ b/application/controllers/EventController.php
@@ -324,10 +324,10 @@ class EventController extends Zend_Controller_Action
$this->_redirect('/');
}
}
- if($event->getPbs_bootmenuID()) {
+ if($event->getPbs_bootmenuID() && $event->getRepeat() == 0) {
$bootmenuApiResult = PostToHost($this->pbs2host, $this->config['pbs2']['deletebootmenu'] . $this->userIDsNamespace['apikey'], 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'], 'poolctrl', "bootmenuid=" . $event->getPbs_bootmenuID());
}
- if($event->getPbs_filterID()) {
+ if($event->getPbs_filterID() && $event->getRepeat() != 1) {
$filterApiResult = PostToHost($this->pbs2host, $this->config['pbs2']['deletefilter'] . $this->userIDsNamespace['apikey'], 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'], 'poolctrl', "filterid=" . $event->getPbs_filterID());
}
try {