allow null array to xmlmanager
This commit is contained in:
@@ -52,9 +52,8 @@ class PssApi extends Api {
|
||||
|
||||
if (count($pidList) < $this->maxPid) {
|
||||
$result = $this->sqlManager->sendPssQuery($pidList);
|
||||
if ($result) {
|
||||
return \utiliy\XmlManager::arrayToPssXml($result);
|
||||
}
|
||||
|
||||
return \utiliy\XmlManager::arrayToPssXml($result);
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user