1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-29 18:47:54 +01:00

Removed debug info

This commit is contained in:
Cameron 2017-12-12 15:08:25 -08:00
parent 7e33124335
commit 29393605b9

View File

@ -80,7 +80,7 @@ function nextprev_shortcode($parm = '')
if(empty($total_items))
{
e107::getDebug()->log("Next Prev has zero total items");
// e107::getDebug()->log("Next Prev has zero total items");
return null;
}
@ -163,8 +163,6 @@ function nextprev_shortcode($parm = '')
break;
default:
var_dump($total_items);
$total_pages = ceil($total_items/$perpage);
$last_page = ceil($total_pages*$perpage)-$perpage;
$current_page = ($current_start/$perpage) + 1;