diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-08-10 01:00:42 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-08-10 01:00:42 +0000 |
commit | a2d78da0c2b2a991aea9e0752714d129e8a9366d (patch) | |
tree | 229bed7ae892f59bbb6f70cbf8eb3eb3b7841b47 /includes/common.inc | |
parent | 3968a954e883ef48f8ffc3f14f0ac77806a0c378 (diff) | |
download | brdo-a2d78da0c2b2a991aea9e0752714d129e8a9366d.tar.gz brdo-a2d78da0c2b2a991aea9e0752714d129e8a9366d.tar.bz2 |
- Patch #605552 by dereine, mr.baileys: function l() fragment 0 return not #0.
Diffstat (limited to 'includes/common.inc')
-rw-r--r-- | includes/common.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/common.inc b/includes/common.inc index be7c72234..2a14c2c26 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -2049,7 +2049,7 @@ function url($path = NULL, array $options = array()) { // Allow other modules to alter the outbound URL and options. drupal_alter('url_outbound', $path, $options, $original_path); - if ($options['fragment']) { + if (isset($options['fragment']) && $options['fragment'] !== '') { $options['fragment'] = '#' . $options['fragment']; } |