Correcting definition of $t->session->set_userdata

This method could be called as well with one parameter (name,value)
as well as using an associative array for multiple values.