diff options
Diffstat (limited to 'modules/mod_banner_rand.php')
| -rwxr-xr-x | modules/mod_banner_rand.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/mod_banner_rand.php b/modules/mod_banner_rand.php index 6110f2c..0fdaf18 100755 --- a/modules/mod_banner_rand.php +++ b/modules/mod_banner_rand.php @@ -9,7 +9,6 @@ * required setup */ namespace Bitweaver\Fisheye; -use Bitweaver\KernelTools; global $gBitSmarty, $gContent; // makes things in older modules easier @@ -17,8 +16,8 @@ global $gBitSmarty, $gContent; if ( !empty($gBitSmarty->tpl_vars) ) { $tpls = $gBitSmarty->tpl_vars; $module_params = $tpls['moduleParams']; - $listHash = $module_params->value; - $listHash['gallery_id'] = $module_params->value['module_rows']; + $listHash = $module_params->value; + $listHash['gallery_id'] = $module_params->value['module_rows']; } $image = new FisheyeImage(); |
