1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-20 04:32:01 +02:00

Fixes #832 - Featurebox item counter.

This commit is contained in:
Cameron 2015-01-27 11:48:46 -08:00
parent e36b68933c
commit 666ea246c2

View File

@ -203,7 +203,7 @@ class plugin_featurebox_item extends e_model
public function sc_featurebox_counter($parm=1)
{
$count = $this->getParam('counter', 1);
return ($oarm == 0) ? $count - 1 : $count;
return ($parm == 0) ? $count - 1 : $count;
}
/**