Summary | "New Item" link broken on wishlist summary in portal view |
Queue | Genie |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | |
Requester | s_gatterbauer (at) idlm (dot) net |
Created | 10/14/2005 (7245 days ago) |
Due | |
Updated | 10/16/2005 (7243 days ago) |
Assigned | |
Resolved | 10/16/2005 (7243 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Resolved
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ "New Item" link broken on wishlist summary in portal view
Queue ⇒ Genie
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.