(01-10-2016, 06:37 AM)cybercoder Wrote: I did change the function to simpler type:
and it works!Code:static function getCurrentUserID()
{
$current_user=ctrl_users::GetUserDetail() ;
return $current_user["userid"];
}
cybercoder Awesome, I'll include that in the next update