1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-06 22:57:14 +02:00

leftover debug

This commit is contained in:
secretr
2009-12-11 13:12:38 +00:00
parent 6365a4b3f4
commit ffaf88d2dd

View File

@@ -1,7 +1,7 @@
<?php <?php
/* /*
* Copyright (c) e107 Inc 2009 - e107.org, Licensed under GNU GPL (http://www.gnu.org/licenses/gpl.txt) * Copyright (c) e107 Inc 2009 - e107.org, Licensed under GNU GPL (http://www.gnu.org/licenses/gpl.txt)
* $Id: e_shortcode.php,v 1.6 2009-12-11 13:11:35 secretr Exp $ * $Id: e_shortcode.php,v 1.7 2009-12-11 13:12:38 secretr Exp $
* *
* Featurebox shortcode batch class - shortcodes available site-wide. ie. equivalent to multiple .sc files. * Featurebox shortcode batch class - shortcodes available site-wide. ie. equivalent to multiple .sc files.
*/ */
@@ -202,7 +202,6 @@ class featurebox_shortcodes // must match the plugin's folder name. ie. [PLUGIN_
$total = ceil($tree->getTotal() / ($category->sc_featurebox_category_limit() ? intval($category->sc_featurebox_category_limit()) : $tree->getTotal()) ); $total = ceil($tree->getTotal() / ($category->sc_featurebox_category_limit() ? intval($category->sc_featurebox_category_limit()) : $tree->getTotal()) );
$model = clone $category; $model = clone $category;
$tmp = array(); $tmp = array();
var_dump($category->sc_featurebox_category_limit());
for ($index = 1; $index <= $total; $index++) for ($index = 1; $index <= $total; $index++)
{ {
$tmp[] = $model->setParam('counter', $index) $tmp[] = $model->setParam('counter', $index)