Commit 07c587d1 authored by Dries's avatar Dries
Browse files

- small bugfix in drupal_goto

parent d7f911c9
......@@ -79,7 +79,12 @@ function drupal_goto($url) {
** is compiled with "--enable-trans-sid".
*/
header("Location: $url&". SID);
if (strstr($url, "?")) {
header("Location: $url&". SID);
}
else {
header("Location: $url?". SID);
}
}
function check_form($text) {
......
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