smartinm / mega-php-client

MEGA PHP Client Library
102 stars 44 forks source link

session_save correction #6

Closed btouchard closed 10 years ago

btouchard commented 10 years ago

on session_save function, you try to access to $client->u_k variable definition, but $client is not passed on function argument... So pass a client in argument, or replace $client by $this without this, coun't save session ;)

but noce work, thank ;)

benjamin

smartinm commented 10 years ago

Thanks for catch this issue.

The session_save function must be static and receive $client by parameter.

Fixed bug and README example.