diff --git a/webform.module b/webform.module
index 7c90051..0a38978 100644
--- a/webform.module
+++ b/webform.module
@@ -1726,7 +1726,7 @@ function webform_client_form($form, $form_state, $node, $submission, $is_draft =
     $webform_blocks = variable_get('webform_blocks', array());
     $delta = 'client-block-' . $node->nid;
     $block_settings = isset($webform_blocks[$delta]) ? $webform_blocks[$delta] : array();
-    $pages_in_node = empty($block_settings['pages_block']);
+    $pages_in_node = !empty($block_settings['pages_block']);
   }
 
   // Set the form action to the node ID in case this is being displayed on the
