summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKjartan Mannes <kjartan@2.no-reply.drupal.org>2002-06-13 09:19:17 +0000
committerKjartan Mannes <kjartan@2.no-reply.drupal.org>2002-06-13 09:19:17 +0000
commit53a53ce6db3cd1afb0b66bccbdf0bd6cd251db8c (patch)
treee927354f5fbbf2ae72bb96b9b56ef7904ac56896
parentd880f8f55927a6da7ca3fce60253c8416fd19b5d (diff)
downloadbrdo-53a53ce6db3cd1afb0b66bccbdf0bd6cd251db8c.tar.gz
brdo-53a53ce6db3cd1afb0b66bccbdf0bd6cd251db8c.tar.bz2
- fixing an error when no DA modules were loaded.
- indentation issue in node module.
-rw-r--r--modules/node.module4
-rw-r--r--modules/node/node.module4
-rw-r--r--modules/user.module1
-rw-r--r--modules/user/user.module1
4 files changed, 6 insertions, 4 deletions
diff --git a/modules/node.module b/modules/node.module
index 149e675bf..4a3d8d842 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 149e675bf..4a3d8d842 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 7a075c755..245a00a54 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 7a075c755..245a00a54 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);