diff --git a/mobile_codes/includes/block.inc b/mobile_codes/includes/block.inc
index 0623220..dfa4817 100644
--- a/mobile_codes/includes/block.inc
+++ b/mobile_codes/includes/block.inc
@@ -73,7 +73,7 @@ function mobile_codes_block_node_url_configure($edit) {
   );
   ctools_include('export');
   foreach (ctools_export_crud_load_all('mobile_codes_presets') as $preset) {
-    if (!$preset->disabled) {
+    if (isset($preset->disabled) && !$preset->disabled) {
       $form['preset']['#options'][$preset->name] = $preset->name;
     }
   }
@@ -147,7 +147,7 @@ function mobile_codes_block_generate_code_form(&$form_state) {
   );
   ctools_include('export');
   foreach (ctools_export_crud_load_all('mobile_codes_presets') as $preset) {
-    if (!$preset->disabled) {
+    if (isset($preset->disabled) && !$preset->disabled) {
       $form['preset']['#options'][$preset->name] = $preset->name;
     }
   }
diff --git a/mobile_codes/includes/filefield.inc b/mobile_codes/includes/filefield.inc
index 98de07a..0ffae01 100644
--- a/mobile_codes/includes/filefield.inc
+++ b/mobile_codes/includes/filefield.inc
@@ -10,7 +10,7 @@
 function filefield_mobile_codes_theme_alter($items) {
   ctools_include('export');
   foreach (ctools_export_crud_load_all('mobile_codes_presets') as $preset) {
-    if (!$preset->disabled) {
+    if (isset($preset->disabled) && !$preset->disabled) {
       $items["mobile_codes_formatter_mobile_codes_filefield_{$preset->name}"] = array(
         'arguments' => array('element' => NULL),
         'function' => 'theme_mobile_codes_filefield_formatter',
@@ -26,7 +26,7 @@ function filefield_mobile_codes_theme_alter($items) {
 function filefield_mobile_codes_field_formatter_info_alter($formatters) {
   ctools_include('export');
   foreach (ctools_export_crud_load_all('mobile_codes_presets') as $preset) {
-    if (!$preset->disabled) {
+    if (isset($preset->disabled) && !$preset->disabled) {
       $formatters["mobile_codes_filefield_{$preset->name}"] = array(
         'label' => t('Mobile code: @preset', array('@preset' => $preset->name)),
         'field types' => array('filefield')
diff --git a/mobile_codes/includes/help.inc b/mobile_codes/includes/help.inc
index ee4fc97..9afc469 100644
--- a/mobile_codes/includes/help.inc
+++ b/mobile_codes/includes/help.inc
@@ -12,7 +12,7 @@ function mobile_codes_help($path, $arg) {
     case 'admin/help#mobile_codes':
       ctools_include('export');
       foreach (ctools_export_crud_load_all('mobile_codes_presets') as $preset) {
-        if (!$preset->disabled) {
+        if (isset($preset->disabled) && !$preset->disabled) {
           $active_preset = $preset;
           break;
         }
diff --git a/mobile_codes/includes/link.inc b/mobile_codes/includes/link.inc
index 2a826f3..4bdd757 100644
--- a/mobile_codes/includes/link.inc
+++ b/mobile_codes/includes/link.inc
@@ -10,7 +10,7 @@
 function link_mobile_codes_theme_alter($items) {
   ctools_include('export');
   foreach (ctools_export_crud_load_all('mobile_codes_presets') as $preset) {
-    if (!$preset->disabled) {
+    if (isset($preset->disabled) && !$preset->disabled) {
       $items["mobile_codes_formatter_mobile_codes_link_{$preset->name}"] = array(
         'arguments' => array('element' => NULL),
         'function' => 'theme_mobile_codes_link_formatter',
@@ -26,7 +26,7 @@ function link_mobile_codes_theme_alter($items) {
 function link_mobile_codes_field_formatter_info_alter($formatters) {
   ctools_include('export');
   foreach (ctools_export_crud_load_all('mobile_codes_presets') as $preset) {
-    if (!$preset->disabled) {
+    if (isset($preset->disabled) && !$preset->disabled) {
       $formatters["mobile_codes_link_{$preset->name}"] = array(
         'label' => t('Mobile code: @preset', array('@preset' => $preset->name)),
         'field types' => array('link')
diff --git a/mobile_codes/includes/text.inc b/mobile_codes/includes/text.inc
index 02e5349..3ca7ad8 100644
--- a/mobile_codes/includes/text.inc
+++ b/mobile_codes/includes/text.inc
@@ -10,7 +10,7 @@
 function text_mobile_codes_theme_alter($items) {
   ctools_include('export');
   foreach (ctools_export_crud_load_all('mobile_codes_presets') as $preset) {
-    if (!$preset->disabled) {
+    if (isset($preset->disabled) && !$preset->disabled) {
       $items["mobile_codes_formatter_mobile_codes_text_{$preset->name}"] = array(
         'arguments' => array('element' => NULL),
         'function' => 'theme_mobile_codes_text_formatter',
@@ -26,7 +26,7 @@ function text_mobile_codes_theme_alter($items) {
 function text_mobile_codes_field_formatter_info_alter($formatters) {
   ctools_include('export');
   foreach (ctools_export_crud_load_all('mobile_codes_presets') as $preset) {
-    if (!$preset->disabled) {
+    if (isset($preset->disabled) && !$preset->disabled) {
       $formatters["mobile_codes_text_{$preset->name}"] = array(
         'label' => t('Mobile code: @preset', array('@preset' => $preset->name)),
         'field types' => array('text')
diff --git a/mobile_codes/includes/vcard.inc b/mobile_codes/includes/vcard.inc
index 1e7a19d..d961725 100644
--- a/mobile_codes/includes/vcard.inc
+++ b/mobile_codes/includes/vcard.inc
@@ -45,7 +45,7 @@ function mobile_codes_block_user_vcard_configure($edit) {
   );
   ctools_include('export');
   foreach (ctools_export_crud_load_all('mobile_codes_presets') as $preset) {
-    if (!$preset->disabled) {
+    if (isset($preset->disabled) && !$preset->disabled) {
       $form['preset']['#options'][$preset->name] = $preset->name;
     }
   }
