Commit 2d25ecac authored by wolff_borg's avatar wolff_borg

added initialisation for bannerlib

parent 82c16f7a
......@@ -5,6 +5,10 @@ function smarty_function_banner($params, &$smarty)
global $tikilib;
global $dbTiki;
include_once('lib/banners/bannerlib.php');
if(!isset($bannerlib)) {
$bannerlib = new BannerLib($dbTiki);
}
extract($params);
// Param = zone
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment