mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 21:27:25 +02:00
Fixes #832 - Featurebox item counter.
This commit is contained in:
@@ -203,7 +203,7 @@ class plugin_featurebox_item extends e_model
|
|||||||
public function sc_featurebox_counter($parm=1)
|
public function sc_featurebox_counter($parm=1)
|
||||||
{
|
{
|
||||||
$count = $this->getParam('counter', 1);
|
$count = $this->getParam('counter', 1);
|
||||||
return ($oarm == 0) ? $count - 1 : $count;
|
return ($parm == 0) ? $count - 1 : $count;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user