From 35ce6daa28cdc6d687a6cef1b009d67348946a21 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 12 Feb 2007 17:42:25 +0000 Subject: - Patch #118041 by kkaefer: fixed small braino in url(). --- includes/common.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes') 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. -- cgit v1.2.3