? terms_of_use-code-style-263781-1.patch
? terms_of_use-node_load-check-263821-1.patch
? terms_of_use.install
? terms_of_use.test
Index: terms_of_use.module
===================================================================
RCS file: /cvs/drupal/contributions/modules/terms_of_use/terms_of_use.module,v
retrieving revision 1.1.2.1
diff -u -p -r1.1.2.1 terms_of_use.module
--- terms_of_use.module	25 May 2008 18:31:51 -0000	1.1.2.1
+++ terms_of_use.module	28 May 2008 18:28:11 -0000
@@ -54,7 +54,7 @@ function terms_of_use_form_alter(&$form,
     );
     // Getting the node that contains the Terms of Use
     $node = node_load(variable_get('terms_of_use_node', ''));
-    if (isset($node)) {
+    if ($node) {
       // Adding the Terms of Use to the fieldset
       $form['terms_of_use']['terms_of_use_text'] = array(
         '#prefix' => '<div class="content clear-block">',
@@ -77,4 +77,4 @@ function _terms_of_use_validate_checkbox
   if ($value == 0) {
     form_set_error('I_agree', t('You must agree with the !terms to get an account.', array('!terms' => variable_get('terms_of_use_fieldset_name', t('Terms of Use')))));
   }
-}
\ No newline at end of file
+}
