[eluser]Otemu[/eluser]
Hi,
I have a main controller fetching data from model
Code:
$data['dummydata'] = $this->M_Dummy->getSomeDummyDatabaseData();
the main view is loading the partial view, passing the param
Code:
<?php echo Modules::run('partialview/example/index',$dummydata); ?>
If I use var_dump in the partial view I can access the array of data
However if I var_dump in the partial controller it fails, with the message undefined variable, what have I missed??
Thanks for any assistance