- fixing an error when no DA modules were loaded.
- indentation issue in node module.4.0.x
parent
d880f8f559
commit
53a53ce6db
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -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);
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue