summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2002-05-05 19:04:26 +0000
committerDries Buytaert <dries@buytaert.net>2002-05-05 19:04:26 +0000
commitf9b29369378236160fb7868f62641c976509b3c8 (patch)
treeedb4cc6527643e7d9e983585d1c48cd323a4beb3
parent8c69c3a912a1a2ed6cfd9ff1942b5ce1ba5be036 (diff)
downloadbrdo-f9b29369378236160fb7868f62641c976509b3c8.tar.gz
brdo-f9b29369378236160fb7868f62641c976509b3c8.tar.bz2
- Fixed broken RSS feeds.
TODO: + Make l()/lm()/la() urlencode() URLs? + Fix problems with the #-trick in drupal_url()/l().
-rw-r--r--includes/common.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/includes/common.inc b/includes/common.inc
index 67eaeb80a..96306986d 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -630,8 +630,8 @@ function form_submit($value) {
}
/**
- * Build an url; use this functions when you must write an url
- * for example in a form or a redirect
+ * Build an URL; use this functions when you must write an URL
+ * for example in a form or a redirect.
*
* @param $args dictionary of arguments to be passed to the script
* @param $script script to be invoked; optional, defaults to node
@@ -641,11 +641,11 @@ function drupal_url($args = array(), $script = "node") {
foreach ($args as $key => $value) {
$t[] = "$key=". urlencode($value);
}
- return "$script.php?". implode("&amp;", $t);
+ return "$script.php?". implode("&", $t);
}
/**
- * Build an html link; use this functions when you must write a link
+ * Build a HTML link; use this functions when you must write a link
* to another drupal page
*
* @param $args dictionary of arguments to be passed to the script