nosferatu_
New Member
I am using CodeIgniter and in my controller I have\[code\]function index($var_22) { // BLABLA}\[/code\]So if I dont pass the $var_22 variable I will get an error:\[code\]A PHP Error was encounteredSeverity: WarningMessage: Missing argument 1 for Claims::index()\[/code\]But I dont need to pass it all of the time, what should I use when I do not pass that variable in order not to get the error. (I dont want to turn off global error reporting)Thanx