[ticket/436] Correctly generate links for poll module
B3P-436
This commit is contained in:
@@ -454,8 +454,8 @@ class poll extends module_base
|
|||||||
}
|
}
|
||||||
|
|
||||||
$poll_view_str = urlencode(implode(',', $make_poll_view));
|
$poll_view_str = urlencode(implode(',', $make_poll_view));
|
||||||
$portalpoll_url= $this->modules_helper->route('board3_portal_controller') . "polls=$poll_view_str";
|
$portalpoll_url= $this->modules_helper->route('board3_portal_controller') . "?polls=$poll_view_str";
|
||||||
$portalvote_url= $this->modules_helper->route('board3_portal_controller') . "f=$forum_id&t=$topic_id";
|
$portalvote_url= $this->modules_helper->route('board3_portal_controller') . "?f=$forum_id&t=$topic_id";
|
||||||
$viewtopic_url = append_sid("{$this->phpbb_root_path}viewtopic.{$this->php_ext}", "f=$forum_id&t=$topic_id");
|
$viewtopic_url = append_sid("{$this->phpbb_root_path}viewtopic.{$this->php_ext}", "f=$forum_id&t=$topic_id");
|
||||||
$poll_end = $data['poll_length'] + $data['poll_start'];
|
$poll_end = $data['poll_length'] + $data['poll_start'];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user