From: Michael J. Rubinsky Date: Sun, 8 Aug 2010 15:54:56 +0000 (-0400) Subject: simplify X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=16e2b3719e074081a4852e5db0d24dce8b8bfdbb;p=horde.git simplify Add to bookmark link still not working, think it's an encoding issue somewhere in the call stack --- diff --git a/ansel/lib/Widget/Actions.php b/ansel/lib/Widget/Actions.php index d49b55181..e19218569 100644 --- a/ansel/lib/Widget/Actions.php +++ b/ansel/lib/Widget/Actions.php @@ -121,8 +121,7 @@ class Ansel_Widget_Actions extends Ansel_Widget_Base 'title' => $this->_view->gallery->get('name')); try { - $url = $registry->bookmarks->getAddUrl($api_params); - $url = new Horde_Url($url); + $url = new Horde_Url($registry->bookmarks->getAddUrl($api_params)); $html .= '
  • ' . $url->link(array('class' => 'widget')) . Horde::img(Horde_Themes::img('trean.png', 'trean')) . ' ' . _("Add to bookmarks") . '
  • '; } catch (Horde_Exception $e) {} }