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:
parent
e36b68933c
commit
666ea246c2
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user