- fixing an error when no DA modules were loaded.

- indentation issue in node module.
4.0.x
Kjartan Mannes 2002-06-13 09:19:17 +00:00
parent d880f8f559
commit 53a53ce6db
4 changed files with 6 additions and 4 deletions

View File

@ -787,8 +787,8 @@ function node_form($edit, $error = NULL) {
*/ */
if (!$error) { if (!$error) {
/* Only validate if we don't already know the errors. */ /* Only validate if we don't already know the errors. */
$edit = node_validate($edit, $error); $edit = node_validate($edit, $error);
} }
/* /*

View File

@ -787,8 +787,8 @@ function node_form($edit, $error = NULL) {
*/ */
if (!$error) { if (!$error) {
/* Only validate if we don't already know the errors. */ /* Only validate if we don't already know the errors. */
$edit = node_validate($edit, $error); $edit = node_validate($edit, $error);
} }
/* /*

View File

@ -469,6 +469,7 @@ function user_set_authmaps($account, $authmaps) {
} }
function user_auth_help_links() { function user_auth_help_links() {
$links = array();
foreach (module_list() as $module) { foreach (module_list() as $module) {
if (module_hook($module, "auth_help")) { if (module_hook($module, "auth_help")) {
$links[] = lm(module_invoke($module, "info", "name"), array("mod" => "user", "op" => "help"), $module); $links[] = lm(module_invoke($module, "info", "name"), array("mod" => "user", "op" => "help"), $module);

View File

@ -469,6 +469,7 @@ function user_set_authmaps($account, $authmaps) {
} }
function user_auth_help_links() { function user_auth_help_links() {
$links = array();
foreach (module_list() as $module) { foreach (module_list() as $module) {
if (module_hook($module, "auth_help")) { if (module_hook($module, "auth_help")) {
$links[] = lm(module_invoke($module, "info", "name"), array("mod" => "user", "op" => "help"), $module); $links[] = lm(module_invoke($module, "info", "name"), array("mod" => "user", "op" => "help"), $module);