summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-12-22 22:54:59 +0000
committerDries Buytaert <dries@buytaert.net>2003-12-22 22:54:59 +0000
commit2dcb89047757f1a7913adf7bc053ae28d909b8d3 (patch)
tree7efb0decbef0a9a4138c752a88f8e3caafac1a8d
parent6cde7fd99ad753601ac7b61290d00ea7cbdd4a4b (diff)
downloadbrdo-2dcb89047757f1a7913adf7bc053ae28d909b8d3.tar.gz
brdo-2dcb89047757f1a7913adf7bc053ae28d909b8d3.tar.bz2
- Fixed bug #4771: variable_get(site_name, ...) -> variable_get('site_name', ...);
-rw-r--r--includes/theme.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/theme.inc b/includes/theme.inc
index c849c9fd1..78875509e 100644
--- a/includes/theme.inc
+++ b/includes/theme.inc
@@ -134,7 +134,7 @@ function theme_header() {
$output = "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n";
$output .= "<html xmlns=\"http://www.w3.org/1999/xhtml\">";
$output .= "<head>";
- $output .= " <title>". drupal_get_title() ? drupal_get_title() : variable_get(site_name, "drupal") ."</title>";
+ $output .= " <title>". drupal_get_title() ? drupal_get_title() : variable_get('site_name', "drupal") ."</title>";
$output .= theme_head();
$output .= " <style type=\"text/css\" media=\"all\">";
$output .= " @import url(misc/drupal.css);";
@@ -291,7 +291,7 @@ function theme_form_element($title, $value, $description = NULL, $id = NULL) {
}
else {
if ($id) {
- $title = "<label for=\"$id\"></label>";
+ $title = "<label for=\"$id\" />";
// TODO: does this make sense to do?
}
}