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:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user