[Tickets #2787] NEW: "New Item" link broken on wishlist summary in portal view

bugs@bugs.horde.org bugs at bugs.horde.org
Fri Oct 14 12:21:44 PDT 2005


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=2787
-----------------------------------------------------------------------
 Ticket             | 2787
 Created By         | s_gatterbauer at idlm.net
 Summary            | "New Item" link broken on wishlist summary in portal view
 Queue              | Genie
 State              | Unconfirmed
 Priority           | 1. Low
 Type               | Bug
 Owners             | 
-----------------------------------------------------------------------


s_gatterbauer at idlm.net (2005-10-14 12:21) wrote:

on the first entry - after login - the link "New Item" on the wishlist
summary
in the portal view leads correctly to  /horde/genie/item.php?actionID=101
after coming back from any Horde application (i.e. imp or genie itself)
the link is changed to not working 
/horde/genie/item.php?actionID=GENIE_ADD_ITEM
and the following PHP Notice is written to the log :
Use of undefined constant GENIE_ADD_ITEM - assumed 'GENIE_ADD_ITEM' in
/usr1/htdocs_ssl/horde/genie/lib/Block/summary.php on line 18

modifying line 18 of horde/genie/lib/Block/summary.php  from
 Horde::link(Horde::applicationUrl('item.php?actionID=' . GENIE_ADD_ITEM,
true)) ...............
to
 Horde::link(Horde::applicationUrl('item.php?actionID=101', true))
...............
solves the problem - I am not familiar with php, so this is just my simple
solution.





More information about the bugs mailing list