From: Chuck Hagenbuch Date: Sun, 8 Aug 2010 14:15:58 +0000 (-0400) Subject: Assign $url since we later expect it to be an object. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=8f763733ecf9cda3ed9172659632a8c1808c02c9;p=horde.git Assign $url since we later expect it to be an object. --- diff --git a/ansel/lib/Ansel.php b/ansel/lib/Ansel.php index 8b2d69bca..abc75614a 100644 --- a/ansel/lib/Ansel.php +++ b/ansel/lib/Ansel.php @@ -301,15 +301,14 @@ class Ansel if (empty($data['groupby'])) { $data['groupby'] = $prefs->getValue('groupby'); } - if ($data['groupby'] == 'owner') { $url = 'user/'; - } - if ($data['groupby'] == 'none') { + } elseif ($data['groupby'] == 'none') { $url = 'all/'; } unset($data['groupby']); - Horde::applicationUrl($url, $full, $append_session); + + $url = Horde::applicationUrl($url, $full, $append_session); if (count($data)) { $url->add($data); }