Index: /changelog
===================================================================
--- /changelog	(revision 6966)
+++ /changelog	(revision 6968)
@@ -95,2 +95,3 @@
 #4.0.7
 - Feature: mehrzeilige Eingabe von FuÃtexten
+- Bugfix: LÃ¶schen von Bestellungen wieder mÃ¶glich (Problem mit fehlendem AboProdukte Modul)
Index: /model/wpsg_order.class.php
===================================================================
--- /model/wpsg_order.class.php	(revision 6966)
+++ /model/wpsg_order.class.php	(revision 6968)
@@ -1025,8 +1025,5 @@
 			// Module aufrufen, damit sie die AbhÃ€ngigkeiten lÃ¶schen kÃ¶nnen
 			$this->shop->callMods('delOrder', array(&$this->id));
-				
-			// Alle Abo-Produkte zu dieser Bestellung in der Tabelle WP_WPSG_ABO lÃ¶schen
-			$this->db->Query("DELETE FROM `".WPSG_TBL_ABO."` WHERE `order_id` = '".wpsg_q($this->id)."' ");
-			
+			 			
 			// Bestelldaten aus der Bestelltabelle lÃ¶schen
 			$this->db->Query("DELETE FROM `".WPSG_TBL_ORDER."` WHERE `id` = '".wpsg_q($this->id)."' ");
Index: /mods/wpsg_mod_abo.class.php
===================================================================
--- /mods/wpsg_mod_abo.class.php	(revision 6966)
+++ /mods/wpsg_mod_abo.class.php	(revision 6968)
@@ -108,5 +108,12 @@
 
 		} // public function install()
-		
+
+        public function delOrder(&$order_id) {
+
+            // Alle Abo-Produkte zu dieser Bestellung in der Tabelle WP_WPSG_ABO lÃ¶schen
+            $this->db->Query("DELETE FROM `".WPSG_TBL_ABO."` WHERE `order_id` = '".wpsg_q($this->id)."' ");
+            
+        } // public function delOrder(&$order_id)
+        
 		/**
 		 * Ãbersicht ÃŒber die Kunden im Backend
@@ -222,9 +229,10 @@
 				$arFilterState['status'] = $status_key;
 				
-				if ($status_key >= wpsg_ShopController::STATUS_AKTIVABO)
-				{
+				if ($status_key == wpsg_ShopController::STATUS_AKTIVABO) {
+				    
 					$count = wpsg_order::countAbo($arFilterState);
 				
 					if (wpsg_isSizedInt($count)) $this->shop->view['arStatus'][$status_key] = array('label' => $status_label, 'count' => $count);
+				
 				}
 				
