From c2d2fb73095a32394dd95e72421aec49fa2cd6f6 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 13 May 2003 18:36:38 +0000 Subject: - Fixed a typo in the PostgreSQL database scheme. Patch by Michael Frankowski. - Fixed a typo in the MSSQL database scheme. Patch by Michael Frankowski. - Removed dependency on "register_globals = on"! Patches by Michael Frankowski. Notes: + Updated the patches to use $foo["bar"] instead of $foo['bar']. + Updated the INSTALL and CHANGELOG files as well. - Tiny improvement to the "./scripts/code-clean.sh" script. --- modules/drupal/drupal.module | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'modules/drupal') diff --git a/modules/drupal/drupal.module b/modules/drupal/drupal.module index f9306dbff..8e3aaaff9 100644 --- a/modules/drupal/drupal.module +++ b/modules/drupal/drupal.module @@ -175,7 +175,6 @@ function drupal_auth_help() { } function drupal_user($type, $edit, $user) { - global $HTTP_HOST; $module = "drupal"; $name = module_invoke($module, "info", "name"); @@ -187,7 +186,7 @@ function drupal_user($type, $edit, $user) { } else { // TODO: use a variation of $base_url instead of $HTTP_HOST below - $output .= form_item(t("$name ID"), "$user->name@$HTTP_HOST"); + $output .= form_item(t("$name ID"), "$user->name@". $_SERVER["HTTP_HOST"]); } return $output; } -- cgit v1.2.3