Index: fb_tab.module
===================================================================
--- fb_tab.module	(revision 5098)
+++ fb_tab.module	(working copy)
@@ -287,11 +287,10 @@ function fb_tab_view() {
     'fb' => $fb,
     'profile_id' => $profile_id,
     'config' => isset($config['data']) ? $config['data'] : NULL,
-    'page' => $sr['page'],
+    'page' => isset($sr['page']) ? $sr['page'] : NULL,
   );

   $content = fb_invoke(FB_TAB_OP_VIEW, $data, array(), FB_TAB_HOOK);
-
   return drupal_render($content);
 }

@@ -305,8 +304,6 @@ function fb_tab_config_form($form_state, $profile_
   $config = fb_tab_get_page_config($fb_app, $profile_id);
   $sr = $fb->getSignedRequest();

-  $sr = $fb->getSignedRequest();
-
   $data = array(
     'fb_app' => $fb_app,
     'fb' => $fb,
@@ -511,4 +508,3 @@ function fb_tab_config_url($profile_id = NULL, $op
   }
   return url(FB_TAB_PATH_FORM . '/' . $profile_id, $options);
 }
-

Process svn finished
