Hi,

why is the xmlrpc error not reset before a new xmlrpc call?
I'ts correct that you can check for errors with xmlrpc() === FALSE, but this does not work if the call itself returns a boolean value,
So it seems impossible to distnguish between the answer FALSE and the FALSE caused by an error.

Is there another way to check for errors besides the xmlrpc_errno(). Or is there a possibility to reset the error?

Comments

Naryoril’s picture

yeah, i have the same problem

i use a call which checks some user rights and returns whether an action is allowed or not. a function that resets the error would be great, so i can reset it if something happened before this call