projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12eb905
)
Assign $url since we later expect it to be an object.
author
Chuck Hagenbuch
<chuck@horde.org>
Sun, 8 Aug 2010 14:15:58 +0000
(10:15 -0400)
committer
Chuck Hagenbuch
<chuck@horde.org>
Sun, 8 Aug 2010 14:17:55 +0000
(10:17 -0400)
ansel/lib/Ansel.php
patch
|
blob
|
history
diff --git
a/ansel/lib/Ansel.php
b/ansel/lib/Ansel.php
index
8b2d69b
..
abc7561
100644
(file)
--- 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);
}