I'm using the body_class layout variable, and it shows up fine. But when I need to check what it is, something odd happens when checking for equality. Say I set the body_class to 'index', and when I echo it, it says 'index', but a var_dump() says it has 28 characters instead of 5.
So when I do this:
$body_class = fuel_var('body_class');
if( $body_class == 'index' )
it doesn't return TRUE. I ran the result through md5:
echo md5( $body_class );
and I get this:
Should I do something with the values that fuel_var() returns? Thanks!