diff options
author | Dries Buytaert <dries@buytaert.net> | 2007-02-12 17:42:25 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2007-02-12 17:42:25 +0000 |
commit | 35ce6daa28cdc6d687a6cef1b009d67348946a21 (patch) | |
tree | 0e324038a2f9ac778152512f9a9bee18e1134810 /includes | |
parent | 74c910e3d439a427ecff7a0fe24a19e636da008c (diff) | |
download | brdo-35ce6daa28cdc6d687a6cef1b009d67348946a21.tar.gz brdo-35ce6daa28cdc6d687a6cef1b009d67348946a21.tar.bz2 |
- Patch #118041 by kkaefer: fixed small braino in url().
Diffstat (limited to 'includes')
-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 1512f30ce..a5deeae12 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -1164,7 +1164,7 @@ function url($path = NULL, $query = NULL, $fragment = NULL, $absolute = FALSE) { static $script; static $clean_url; - if (empty($script)) { + if (!isset($script)) { // On some web servers, such as IIS, we can't omit "index.php". So, we // generate "index.php?q=foo" instead of "?q=foo" on anything that is not // Apache. |