Change checkAccess_static()

Fix on checkAccess_static, in whih the $id_cart was missing

Method not unit tested