Avoid PHP notices when extracting patron information and error messages.
Error description in the Sierra REST API is optional, while name is not, so fall back to name if there's no description. Also use empty() instead if isset() to avoid considering code 0 an error.
Please register or sign in to comment