projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbe2a81
)
Fix trean redirect script - Horde::externalUrl() doesn't return a Horde_Url object.
author
Chuck Hagenbuch
<chuck@horde.org>
Mon, 11 Oct 2010 13:53:33 +0000
(09:53 -0400)
committer
Chuck Hagenbuch
<chuck@horde.org>
Mon, 11 Oct 2010 13:53:33 +0000
(09:53 -0400)
trean/redirect.php
patch
|
blob
|
history
diff --git
a/trean/redirect.php
b/trean/redirect.php
index
89a1de9
..
179df76
100644
(file)
--- a/
trean/redirect.php
+++ b/
trean/redirect.php
@@
-27,4
+27,4
@@
if (is_a($bookmark, 'PEAR_Error')) {
++$bookmark->clicks;
$bookmark->save();
-
Horde::externalUrl($bookmark->url)->redirect(
);
+
header('Location: ' . Horde::externalUrl($bookmark->url)
);