[eluser]TheFuzzy0ne[/eluser]
Assuming your index method looks something like this:
Code:
function index($arg)
{
# ...
}
You can set the default value for if an argument is not supplied, so:
Code:
function index($arg=FALSE)
{
# ...
}
This should stop that error, but you'll need to handle it in your code of course.