diff --git a/entityform_block.module b/entityform_block.module
index a5d764e..f45e58c 100644
--- a/entityform_block.module
+++ b/entityform_block.module
@@ -10,7 +10,7 @@
  */
 function entityform_block_block_info() {
   $blocks = array();
-  $types = variable_get('entityform_block_types');
+  $types = variable_get('entityform_block_types', array());
   if (!empty($types)) {
     foreach ($types as $key => $type) {
       $blocks[$type] = array(
@@ -26,7 +26,7 @@ function entityform_block_block_info() {
  * Implements hook_block_view().
  */
 function entityform_block_block_view($delta = '') {
-  $types = variable_get('entityform_block_types');
+  $types = variable_get('entityform_block_types', array());
   // Hide existing blocks if disabled
   if (entityform_block_exists($types, $delta)) {
     $entity_form = entityform_block_get_entity($delta);
@@ -50,7 +50,7 @@ function entityform_block_block_view($delta = '') {
 function entityform_block_form_alter(&$form, &$form_state, $form_id) {
   if ($form_id == 'entityform_type_form') {
     $types = array();
-    $types = variable_get('entityform_block_types');
+    $types = variable_get('entityform_block_types', array());
     $current_type = $form['#entityform_type']->type;
 
     $form['data']['block_set'] = array(
@@ -196,7 +196,7 @@ function entityform_block_get_entity($type){
 function entityform_block_entity_delete($entity, $entity_type) {
   $type = $entity->type;
   if ($entity_type == "entityform_type") {
-    $types = variable_get('entityform_block_types');
+    $types = variable_get('entityform_block_types', array());
     if (entityform_block_exists($types, $type)) {
       $key = array_search($type, $types);
       unset($types[$key]);
