Commit 35ce6daa authored by Dries's avatar Dries

- Patch #118041 by kkaefer: fixed small braino in url().

parent 74c910e3
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment