I have this error
" NOTICE: UNDEFINED VARIABLE: LOGO IN C:\WAMP\WWW\SITE\TOOLS\SMARTY\SYSPLUGINS\SMARTY_INTERNAL_DATA.PHP ON LINE 291 CALL STACK"
Here is my PHP code
function hookFooter($params)
{
global $smarty;
$smarty->assign('ENT_QUOTES', ENT_QUOTES);
if( file_exists('modules/ebbrandingfooter/logo-footer.jpg')){
$smarty->assign('logo','modules/ebbrandingfooter/logo-footer.jpg');
};
$FOOTERdescription=Configuration::get('FOOTER_DESC');
$smarty->assign('description',$FOOTERdescription );
return $this->display(__FILE__, 'ebbrandingfooter.tpl');
}
And Here the TPL
{if $logo}<img src="{$logo}" />{/if}
<p>{$description}</p>
Can anyone help me what I am doing wrong? THX!!!