From: Jan Schneider Date: Mon, 10 May 2010 12:21:30 +0000 (+0200) Subject: Fix logic correctly. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=83f43d059e25fe7c904f352942761ee92b600605;p=horde.git Fix logic correctly. --- diff --git a/framework/Url/lib/Horde/Url.php b/framework/Url/lib/Horde/Url.php index d2dfc0b0c..b245189c0 100644 --- a/framework/Url/lib/Horde/Url.php +++ b/framework/Url/lib/Horde/Url.php @@ -69,9 +69,7 @@ class Horde_Url $this->url = $url->url; $this->parameters = $url->parameters; $this->pathInfo = $url->pathInfo; - if (!is_null($raw)) { - $this->raw = $url->raw; - } + $this->raw = is_null($raw) ? $url->raw : $raw; return; }