diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-05-13 18:36:38 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-05-13 18:36:38 +0000 |
commit | c2d2fb73095a32394dd95e72421aec49fa2cd6f6 (patch) | |
tree | 5d2d92a31480405b8c10c3b85927049238528242 /modules/drupal | |
parent | 13ffd8956826fec3cd9978edf73ef67d9eb8d46e (diff) | |
download | brdo-c2d2fb73095a32394dd95e72421aec49fa2cd6f6.tar.gz brdo-c2d2fb73095a32394dd95e72421aec49fa2cd6f6.tar.bz2 |
- 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.
Diffstat (limited to 'modules/drupal')
-rw-r--r-- | modules/drupal/drupal.module | 3 |
1 files changed, 1 insertions, 2 deletions
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; } |