Avoid using global variables
Co-authored-by: ArthurHoaro <arthur@hoa.ro>
This commit is contained in:
parent
e813934ae1
commit
4479aff18f
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue