diff --git a/modules/node.module b/modules/node.module
index 149e675bf60f9c7172399797053c743e0abd5ce5..4a3d8d842548899b83596dca704c76a30e0093b6 100644
--- a/modules/node.module
+++ b/modules/node.module
@@ -787,8 +787,8 @@ function node_form($edit, $error = NULL) {
   */
 
   if (!$error) {
-  /* Only validate if we don't already know the errors. */
-  $edit = node_validate($edit, $error);
+    /* Only validate if we don't already know the errors. */
+    $edit = node_validate($edit, $error);
   }
 
   /*
diff --git a/modules/node/node.module b/modules/node/node.module
index 149e675bf60f9c7172399797053c743e0abd5ce5..4a3d8d842548899b83596dca704c76a30e0093b6 100644
--- a/modules/node/node.module
+++ b/modules/node/node.module
@@ -787,8 +787,8 @@ function node_form($edit, $error = NULL) {
   */
 
   if (!$error) {
-  /* Only validate if we don't already know the errors. */
-  $edit = node_validate($edit, $error);
+    /* Only validate if we don't already know the errors. */
+    $edit = node_validate($edit, $error);
   }
 
   /*
diff --git a/modules/user.module b/modules/user.module
index 7a075c75523de6d82dbaf441531ceafea67a5922..245a00a543a25b0f920cdc1b29e7a0ee9d64146c 100644
--- a/modules/user.module
+++ b/modules/user.module
@@ -469,6 +469,7 @@ function user_set_authmaps($account, $authmaps) {
 }
 
 function user_auth_help_links() {
+  $links = array();
   foreach (module_list() as $module) {
     if (module_hook($module, "auth_help")) {
       $links[] = lm(module_invoke($module, "info", "name"), array("mod" => "user", "op" => "help"), $module);
diff --git a/modules/user/user.module b/modules/user/user.module
index 7a075c75523de6d82dbaf441531ceafea67a5922..245a00a543a25b0f920cdc1b29e7a0ee9d64146c 100644
--- a/modules/user/user.module
+++ b/modules/user/user.module
@@ -469,6 +469,7 @@ function user_set_authmaps($account, $authmaps) {
 }
 
 function user_auth_help_links() {
+  $links = array();
   foreach (module_list() as $module) {
     if (module_hook($module, "auth_help")) {
       $links[] = lm(module_invoke($module, "info", "name"), array("mod" => "user", "op" => "help"), $module);