Variable Scope Across Blocks
Hi,
I'm finding that params provided to fuel_block() are existing across further calls to fuel_block within the same page load.
e.g.
View:
{fuel_block('some_block', array(foobar='123'))}
{fuel_block('some_block')}
Block:
<?= (isset($foobar) ? $foobar : 'not set') ?>
Output:
123
123
I would expect the output to be "123 not set". Is this intended functionality? If so how to I unset the parameters provided so that further calls to a fuel block does not require my users to provide a full set of params?
Thanks,
D
Comments
{fuel_block('some_block',array())}