Skip to content
Snippets Groups Projects
Commit 57fe66ce authored by Ere Maijala's avatar Ere Maijala Committed by Demian Katz
Browse files

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.
parent 11132757
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment