Welcome Guest, Not a member yet? Register   Sign In
Uses of userdata() without params on Profiler Class
#1

Hi, I was starting a new project in CI 2.2.x when version 3 comes to live. I follow all the instrucions to migrate from one version to another and it works fine, but when uses profiler. Using Profiler class along with Session class gives me a Warning Error for a use of Session's Class method userdata() without params. I check out the implementation and it does not suppor default params, but in Profiler Class, line 531 is called that method without params. I changed this to $this->CI->session->all_userdata() (I read is an alias of userdata()) an the warning goes away. Is that a bug or am I doing something wrong migrating?
Reply


Messages In This Thread
Uses of userdata() without params on Profiler Class - by jpleyjon - 03-18-2015, 07:17 AM



Theme © iAndrew 2016 - Forum software by © MyBB