X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Faction.php;h=ee23059115cba0629f74934420cbc90f0baf9b39;hb=13c183e2f4e0738233658ca79103bbe4a6d57992;hp=2ba877c9c5f09f9efcb69783e63342619cc53702;hpb=9a2f3358537566084a29fd421891fbc236185e9f;p=quix0rs-gnu-social.git diff --git a/lib/action.php b/lib/action.php index 2ba877c9c5..ee23059115 100644 --- a/lib/action.php +++ b/lib/action.php @@ -977,17 +977,17 @@ class Action extends HTMLOutputter // lawsuit } if ($have_before) { $pargs = array('page' => $page-1); - $newargs = $args ? array_merge($args, $pargs) : $pargs; $this->elementStart('li', array('class' => 'nav_prev')); - $this->element('a', array('href' => common_local_url($action, $newargs), 'rel' => 'prev'), + $this->element('a', array('href' => common_local_url($action, $args, $pargs), + 'rel' => 'prev'), _('After')); $this->elementEnd('li'); } if ($have_after) { $pargs = array('page' => $page+1); - $newargs = $args ? array_merge($args, $pargs) : $pargs; $this->elementStart('li', array('class' => 'nav_next')); - $this->element('a', array('href' => common_local_url($action, $newargs), 'rel' => 'next'), + $this->element('a', array('href' => common_local_url($action, $args, $pargs), + 'rel' => 'next'), _('Before')); $this->elementEnd('li'); }