Simplify
authorJan Schneider <jan@horde.org>
Mon, 27 Sep 2010 18:40:50 +0000 (20:40 +0200)
committerJan Schneider <jan@horde.org>
Tue, 28 Sep 2010 15:25:50 +0000 (17:25 +0200)
framework/Url/lib/Horde/Url.php

index 66b1ef1..2c6661d 100644 (file)
@@ -322,7 +322,7 @@ class Horde_Url
             throw new Horde_Url_Exception('Redirect failed: URL is empty.');
         }
 
-        header('Location: ' . strval($this->setRaw(true)));
+        header('Location: ' . $url);
         exit;
     }