mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Pass error message given by qrz.com to the user
This commit is contained in:
@@ -71,7 +71,7 @@ class Qrz {
|
||||
|
||||
// Create XML object
|
||||
$xml = simplexml_load_string($xml);
|
||||
if (empty($xml)) return;
|
||||
if (!empty($xml->Session->Error)) return $data['error'] = $xml->Session->Error;
|
||||
|
||||
// Return Required Fields
|
||||
$data['callsign'] = (string)$xml->Callsign->call;
|
||||
|
||||
Reference in New Issue
Block a user