[eluser]überfuzz[/eluser]
[quote author="cahva" date="1254097931"]Its not CI issue. You cant check if function is set. If statement would give you the same error.
$this->uri->segment(1) will return false if its empty so use that to compare:
Code:
$page = $this->uri->segment(1) ? $this->uri->segment(1) : 'home';
[/quote]
If admin would be so kind and move this thread to the noob-error section. :red: