From 13647c4c3881b5cf2c70b2acb18cabeb3967be1c Mon Sep 17 00:00:00 2001
From: Rasmus Fuhse <krassmus@gmail.com>
Date: Sun, 29 Mar 2015 22:26:02 +0200
Subject: [PATCH] re #39 : return before deleted object is stored again.

---
 controllers/presenting.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/controllers/presenting.php b/controllers/presenting.php
index b400214..aeeb5bf 100644
--- a/controllers/presenting.php
+++ b/controllers/presenting.php
@@ -150,6 +150,7 @@ class PresentingController extends MarketController
             $this->marketplugin->delete();
             PageLayout::postMessage(MessageBox::success(_("Plugin wurde gel�scht.")));
             $this->redirect('presenting/overview');
+            return;
         }
         $this->marketplugin['rating'] = $this->marketplugin->calculateRating();
         $this->marketplugin->store();
-- 
GitLab