Index: trunk/include/xpress_active_plugin.php
===================================================================
--- trunk/include/xpress_active_plugin.php	(revision 214)
+++ trunk/include/xpress_active_plugin.php	(revision 215)
@@ -8,9 +8,13 @@
 		$plugins = get_option('active_plugins');
 		$is_active = false;
-		foreach($plugins as $plugin){
-			if ($plugin == $activation_plugin) {
-				$is_active = true;
-				break;
+		if (!empty($plugins)){
+			foreach($plugins as $plugin){
+				if ($plugin == $activation_plugin) {
+					$is_active = true;
+					break;
+				}
 			}
+		} else {
+			$plugins = array();
 		}
 		if (!$is_active){
