Index: adsense.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/adsense/adsense.module,v
retrieving revision 1.37
diff -u -d -b -w -r1.37 adsense.module
--- adsense.module	25 Jun 2006 04:35:28 -0000	1.37
+++ adsense.module	26 Jun 2006 04:09:04 -0000
@@ -144,11 +144,6 @@
     return $form;
   }
 
-  if (!_get_site_owner_client_id()) {
-    drupal_set_message('There is no site owner Google Adsense Client ID defined. Please define one for user id 1 as per instructions.', 'error');
-    return $form;
-  }
-
   $form['required'] = array(
     '#type' => 'fieldset',
     '#collapsible' => true,
@@ -165,6 +160,12 @@
     '#description'   => t('This is the profile field that holds the Adsense Client ID for the site owner(s) as well as for site users who (optionally) participate in revenue sharing. You must enabled the profile module and create a new field for this.'),
   );
 
+  if (!_get_site_owner_client_id()) {
+    drupal_set_message('There is no site owner Google Adsense Client ID defined. Please define one for user id 1 as per instructions.', 'error');
+    return $form;
+  }
+
+
   $form['types_colors'] = array(
     '#type' => 'fieldset',
     '#collapsible' => true,
