summaryrefslogtreecommitdiffstats
path: root/application/controllers/EventController.php
diff options
context:
space:
mode:
authorBjörn Geiger2011-10-20 16:59:29 +0200
committerBjörn Geiger2011-10-20 16:59:29 +0200
commit54a3c83fa9a5e380804111671b019d6c15df9b04 (patch)
tree5361ef7ed1c4cef0eca2dd2d650666c23a3e7c76 /application/controllers/EventController.php
parentjar update (diff)
downloadpoolctrl-54a3c83fa9a5e380804111671b019d6c15df9b04.tar.gz
poolctrl-54a3c83fa9a5e380804111671b019d6c15df9b04.tar.xz
poolctrl-54a3c83fa9a5e380804111671b019d6c15df9b04.zip
Korrektur!
Diffstat (limited to 'application/controllers/EventController.php')
-rwxr-xr-xapplication/controllers/EventController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/controllers/EventController.php b/application/controllers/EventController.php
index bdd1ec1..4055e93 100755
--- a/application/controllers/EventController.php
+++ b/application/controllers/EventController.php
@@ -481,7 +481,7 @@ class EventController extends Zend_Controller_Action
}
$result = $this->eventcategoryMapper->findBy(array('title' => 'Shutdown'));
$shutdownCategory = $result[0];
- if($newEvent->getCategory() != $shutdownCategory->getID()) {
+ if($event->getCategory() != $shutdownCategory->getID()) {
$diff = $this->eventMapper->compare($oldEvent, $event);
if(isset($diff['pbs_bootosID']) || isset($diff['title']) || isset($diff['pbs_configID'])) {
$bootmenuApiResult = PostToHost($this->pbs2host, $this->config['pbs2']['deletebootmenu'] . $this->userIDsNamespace['apikey'], 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'], 'poolctrl', "bootmenuid=" . $oldEvent->getPbs_bootmenuID());