1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 20:00:37 +02: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)) if(empty($total_items))
{ {
e107::getDebug()->log("Next Prev has zero total items"); // e107::getDebug()->log("Next Prev has zero total items");
return null; return null;
} }
@@ -163,8 +163,6 @@ function nextprev_shortcode($parm = '')
break; break;
default: default:
var_dump($total_items);
$total_pages = ceil($total_items/$perpage); $total_pages = ceil($total_items/$perpage);
$last_page = ceil($total_pages*$perpage)-$perpage; $last_page = ceil($total_pages*$perpage)-$perpage;
$current_page = ($current_start/$perpage) + 1; $current_page = ($current_start/$perpage) + 1;