Index: /controller/wpsg_OrderController.class.php
===================================================================
--- /controller/wpsg_OrderController.class.php	(revision 7361)
+++ /controller/wpsg_OrderController.class.php	(revision 7363)
@@ -1322,5 +1322,5 @@
 			
 					$product_index = false;
-		            if (wpsg_isSizedInt($order_product_id)) $product_index = $this->db->fetchOne("SELECT `product_index` FROM `".WPSG_TBL_ORDERPRODUCT."` WHERE `id` = '".M1::q($order_product_id)."' ");
+		            if (wpsg_isSizedInt($order_product_id)) $product_index = $this->db->fetchOne("SELECT `product_index` FROM `".WPSG_TBL_ORDERPRODUCT."` WHERE `id` = '".wpsg_q($order_product_id)."' ");
 		            
 					$oCalculation->addProduct($_REQUEST['add_price'], $this->shop->getBackendTaxview(), $oProduct->mwst_key, $_REQUEST['add_amount'], $product_key, $product_index, $order_product_id, $eu);
Index: /mods/wpsg_mod_autodebit.class.php
===================================================================
--- /mods/wpsg_mod_autodebit.class.php	(revision 7361)
+++ /mods/wpsg_mod_autodebit.class.php	(revision 7363)
@@ -158,5 +158,5 @@
 					}
 					
-					$this->db->UpdateQuery(WPSG_TBL_ORDER, array('custom_data' => serialize($custom_data)), " `id` = '".M1::q($order['order_id'])."' ");
+					$this->db->UpdateQuery(WPSG_TBL_ORDER, array('custom_data' => serialize($custom_data)), " `id` = '".wpsg_q($order['order_id'])."' ");
 															
 					
Index: /mods/wpsg_mod_paypalapi.class.php
===================================================================
--- /mods/wpsg_mod_paypalapi.class.php	(revision 7361)
+++ /mods/wpsg_mod_paypalapi.class.php	(revision 7363)
@@ -1096,5 +1096,5 @@
 			
 			// Dadurch wird die Bestellung in der DB fixiert und Platzhalter kÃ€nnen generiert werden
-			if (!M1::isSizedInt($order_id)) $order_id = $this->shop->basket->save(false, false, true);
+			if (!wpsg_isSizedInt($order_id)) $order_id = $this->shop->basket->save(false, false, true);
 						
 			$item_list = array(
Index: /mods/wpsg_mod_voucherproduct.class.php
===================================================================
--- /mods/wpsg_mod_voucherproduct.class.php	(revision 7361)
+++ /mods/wpsg_mod_voucherproduct.class.php	(revision 7363)
@@ -162,5 +162,5 @@
 		{ 
 			
-			if ($status_id == 100 && !M1::isTrue($GLOBALS['wpsg_mod_voucher_send'])) {
+			if ($status_id == 100 && !wpsg_isSizedInt($GLOBALS['wpsg_mod_voucher_send'])) {
 				
 				// Zahlung eingegangen
