oops, forgot something

This commit is contained in:
DrudexSoftware 2013-02-24 01:26:48 +01:00
parent 937eefcb50
commit cf9e0eae8c

View File

@ -13,8 +13,8 @@ class arrowkey_navigation extends Extension {
public function onPageRequest(PageRequestEvent $event) {
if ($event->page_matches("post/view")) {
$pageinfo = $this->get_view_pageinfo($event);
$prev_url = make_http(make_link("post/prev/".$pageinfo["current"]));
$next_url = make_http(make_link("post/next/".$pageinfo["current"]));
$prev_url = make_http(make_link("post/prev/".$pageinfo));
$next_url = make_http(make_link("post/next/".$pageinfo));
$this->add_arrowkeys_code($prev_url, $next_url);
}