I have a templating system which is OO. It works fine. but when I want to pass some variables to the template file I do use:
$body->set('blah', $blah);
and when I do print $blah in template file it has correct value so I am sure the value is passed fine, but when I use that in an 'IF statement' in template file like:
if (!empty($blah)) {
// do something
}
it doesn't go to that if stastement.
any idea what is the problem?