diff options
-rw-r--r-- | modules/node/node.pages.inc | 2 | ||||
-rw-r--r-- | themes/garland/maintenance-page.tpl.php | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/modules/node/node.pages.inc b/modules/node/node.pages.inc index bdf2d1930..3868fd51a 100644 --- a/modules/node/node.pages.inc +++ b/modules/node/node.pages.inc @@ -184,7 +184,7 @@ function node_form(&$form_state, $node) { '#title' => t('Authored by'), '#maxlength' => 60, '#autocomplete_path' => 'user/autocomplete', - '#default_value' => $node->name ? $node->name : '', + '#default_value' => !empty($node->name) ? $node->name : '', '#weight' => -1, '#description' => t('Leave blank for %anonymous.', array('%anonymous' => variable_get('anonymous', t('Anonymous')))), ); diff --git a/themes/garland/maintenance-page.tpl.php b/themes/garland/maintenance-page.tpl.php index 54f66320b..85bc41103 100644 --- a/themes/garland/maintenance-page.tpl.php +++ b/themes/garland/maintenance-page.tpl.php @@ -49,9 +49,9 @@ $site_html = implode(' ', $site_fields); if ($logo || $site_title) { - print '<h1><a href="' . check_url($base_path) . '" title="' . $site_title . '">'; + print '<h1><a href="' . $base_path . '" title="' . $site_title . '">'; if ($logo) { - print '<img src="' . check_url($logo) . '" alt="' . $site_title . '" id="logo" />'; + print '<img src="' . $logo . '" alt="' . $site_title . '" id="logo" />'; } print $site_html . '</a></h1>'; } |