summaryrefslogtreecommitdiffstats
path: root/application/controllers/EventController.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/controllers/EventController.php')
-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 5bc200f..910a5a0 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 {