Fix: Fix for displaying the error code for Json Fetching errors

Fixed a typo preventing the error code from showing if there was an error
while fetching data from CREST or zKB
Fix: Empty data set from zKB API causing a warning

Fixed a bug causing an empty data set returned by the zKB API to cause a
PHP warning.