X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=application%2Frender%2FPageBuilder.php;h=c52e3b76143530343f5da67ce32e9f74a805d236;hb=refs%2Fpull%2F1553%2Fhead;hp=217036392802f26f05801e22439df08eff0d9e13;hpb=816ffba74b8bebffc620af50994833d783207a50;p=github%2Fshaarli%2FShaarli.git diff --git a/application/render/PageBuilder.php b/application/render/PageBuilder.php index 21703639..c52e3b76 100644 --- a/application/render/PageBuilder.php +++ b/application/render/PageBuilder.php @@ -149,7 +149,7 @@ class PageBuilder $this->tpl->assign('formatter', $this->conf->get('formatter', 'default')); - $this->tpl->assign('links_per_page', $_SESSION['LINKS_PER_PAGE']); + $this->tpl->assign('links_per_page', $this->session['LINKS_PER_PAGE']); // To be removed with a proper theme configuration. $this->tpl->assign('conf', $this->conf);