Prevent php notice of undefined variable $dashboard when $this->uri->seg...

...ment(2) != '';