[eluser]RJ[/eluser]
Result - string(0)""
Which is odd because I use the same logic in a method located in my controller like below:
Code:
$fields = $this->suw->print_fields(
$this->build_fields(),
$this->dealer->countries,
$this->dealer->vars["hcolor"],
$this->dealer->vars["acolor"],
$this->lang->lang()
);
This having the dealer_model loaded in /shop/device where shop is controller and device is method of shop controller. Usage in controller/metod is:
Code:
$this->load->model('dealer_model','dealer'); // load dealer
# Set dealer params
$this->dealer->dealer_model($dealer); // passes db info to dealer model for processing