1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-19 12:51:52 +02:00

Issue #2032 May fix some pagination issues.

This commit is contained in:
Cameron
2017-02-06 10:50:19 -08:00
parent 4b3317ad18
commit e14a470951
2 changed files with 12 additions and 17 deletions

View File

@@ -68,7 +68,7 @@ function nextprev_shortcode($parm = '')
* New parameter requirements formatted as a GET string.
* Template support.
*/
if(is_string($parm) && strpos($parm, 'total=') !== false)
if(strpos($parm, 'total=') !== false)
{
parse_str($parm, $parm);
@@ -363,10 +363,6 @@ function nextprev_shortcode($parm = '')
*/
else
{
if(empty($parm))
{
$parm = '';
}
$parm_count = substr_count($parm, ',');
while($parm_count < 5)
{