@@ -228,15 +228,12 @@ public function show_idea($event)
228228 'IDEA_POINTS ' => $ points ,
229229 'IDEA_STATUS_ID ' => $ idea ['idea_status ' ],
230230 'IDEA_STATUS_NAME ' => $ this ->ideas ->get_status_from_id ($ idea ['idea_status ' ]),
231- 'IDEA_STATUS_LINK ' => $ this ->helper ->route ('phpbb_ideas_list_controller ' , array ('status ' => $ idea ['idea_status ' ])),
232231
233232 'IDEA_DUPLICATE ' => $ idea ['duplicate_id ' ],
234233 'IDEA_RFC ' => $ idea ['rfc_link ' ],
235234 'IDEA_TICKET ' => $ idea ['ticket_id ' ],
236235 'IDEA_IMPLEMENTED ' => $ idea ['implemented_version ' ],
237236
238- 'U_IDEA_DUPLICATE ' => $ this ->link_helper ->get_idea_link ((int ) $ idea ['duplicate_id ' ]),
239-
240237 'S_IS_MOD ' => $ mod ,
241238 'S_CAN_EDIT ' => $ mod || $ own ,
242239 'S_CAN_VOTE ' => $ can_vote ,
@@ -253,6 +250,8 @@ public function show_idea($event)
253250 'U_EDIT_TICKET ' => $ this ->link_helper ->get_idea_link ($ idea ['idea_id ' ], 'ticket ' , true ),
254251 'U_REMOVE_VOTE ' => $ this ->link_helper ->get_idea_link ($ idea ['idea_id ' ], 'removevote ' , true ),
255252 'U_IDEA_VOTE ' => $ this ->link_helper ->get_idea_link ($ idea ['idea_id ' ], 'vote ' , true ),
253+ 'U_IDEA_DUPLICATE ' => $ this ->link_helper ->get_idea_link ($ idea ['duplicate_id ' ]),
254+ 'U_IDEA_STATUS_LINK ' => $ this ->helper ->route ('phpbb_ideas_list_controller ' , array ('status ' => $ idea ['idea_status ' ])),
256255 ));
257256
258257 // Use Ideas breadcrumbs
0 commit comments