Update BaseController.php

$this->_admin is an object;
urlencode expects a string;