mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 21:27:25 +02:00
Notice removal nextprev.
This commit is contained in:
@@ -68,9 +68,12 @@ function nextprev_shortcode($parm = '')
|
|||||||
* New parameter requirements formatted as a GET string.
|
* New parameter requirements formatted as a GET string.
|
||||||
* Template support.
|
* Template support.
|
||||||
*/
|
*/
|
||||||
if(strpos($parm, 'total=') !== false)
|
if(is_array($parm) || strpos($parm, 'total=') !== false)
|
||||||
|
{
|
||||||
|
if(is_string($parm))
|
||||||
{
|
{
|
||||||
parse_str($parm, $parm);
|
parse_str($parm, $parm);
|
||||||
|
}
|
||||||
|
|
||||||
// Calculate
|
// Calculate
|
||||||
$total_items = intval($parm['total']);
|
$total_items = intval($parm['total']);
|
||||||
|
Reference in New Issue
Block a user