Index: /lib/filter_functions.inc.php
===================================================================
--- /lib/filter_functions.inc.php	(revision 6469)
+++ /lib/filter_functions.inc.php	(revision 6473)
@@ -161,5 +161,5 @@
 		 */ 
 		 
-		add_menu_page('wpShopGermany', 'wpShopGermany', 'wpsg_menu', 'wpsg-Admin', 'wpsg_dispatch', "http://img.maennchen1.de/wordpress/wpshopgermany?server_host=".urlencode($_SERVER['SERVER_NAME'])."&amp;server_add=".urlencode($_SERVER['SERVER_ADDR'])."&amp;version=".WPSG_VERSION."&amp;key_id=".@$GLOBALS['wpsg_sc']->arLizenz['nr'], 9);
+		add_menu_page('wpShopGermany', 'wpShopGermany', 'wpsg_menu', 'wpsg-Admin', 'wpsg_dispatch', "dashicons-cart", 9);
 		
 		if ($GLOBALS['wpsg_sc']->hasActiveLicence() || $GLOBALS['wpsg_sc']->getDemoDays() > 0)
@@ -354,6 +354,8 @@
 
         if ($force === true) $wpsg_lastupdate = false;
-
-        if ($wpsg_lastupdate == false || $wpsg_lastupdate < time() - 60 * 30 || !wpsg_isSizedArray($wpsg_update_data))
+		
+		$min = 30;
+
+        if ($wpsg_lastupdate == false || $wpsg_lastupdate < time() - 60 * $min || !wpsg_isSizedArray($wpsg_update_data))
         {
 
@@ -370,9 +372,10 @@
 				)); 
 
-				$wpsg_update_data = json_decode($api_return, true);
+				$wpsg_update_data_return = json_decode($api_return, true);
 
                 if (wpsg_isSizedArray($wpsg_update_data))
                 {
 
+					$wpsg_update_data = $wpsg_update_data_return;
 					$wpsg_update_data['updateData'] = (object)$wpsg_update_data['updateData'];
 					
@@ -381,4 +384,5 @@
 
                 }
+				
 
             }
@@ -405,4 +409,6 @@
 		$wpsg_update_data = wpsg_get_update_data();
 
+		//if (!wpsg_isSizedArray($wpsg_update_data)) return array();
+		
         if ($wpsg_update_data['returnCode'] === '2')
         {
