projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d59fe80
)
make sure we always return a Horde_Url object
author
Michael J. Rubinsky
<mrubinsk@horde.org>
Mon, 7 Jun 2010 17:35:29 +0000
(13:35 -0400)
committer
Michael J. Rubinsky
<mrubinsk@horde.org>
Mon, 7 Jun 2010 17:35:29 +0000
(13:35 -0400)
ansel/lib/Ansel.php
patch
|
blob
|
history
diff --git
a/ansel/lib/Ansel.php
b/ansel/lib/Ansel.php
index
272fe61
..
1c7bbb2
100644
(file)
--- a/
ansel/lib/Ansel.php
+++ b/
ansel/lib/Ansel.php
@@
-289,7
+289,7
@@
class Ansel
!empty($data['gallery_view']) &&
$data['gallery_view'] == 'GalleryLightbox') {
- $url = new Horde_Url($url .
=
'#' . $data['image']);
+ $url = new Horde_Url($url . '#' . $data['image']);
}
return Horde::applicationUrl($url, $full, $append_session);
@@
-300,7
+300,7
@@
class Ansel
!empty($data['gallery_view']) &&
$data['gallery_view'] == 'GalleryLightbox') {
- $url
.= '#' . $data['image']
;
+ $url
= new Horde_Url($url . '#' . $data['image'])
;
}
return $url;