diff --git a/.gitignore b/.gitignore index 13bbe5b..d63e84f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ .idea/ - +/nbproject/ diff --git a/Mplusqapiclient.php b/Mplusqapiclient.php index 0f20487..d302b26 100755 --- a/Mplusqapiclient.php +++ b/Mplusqapiclient.php @@ -4635,7 +4635,12 @@ public function parseAdjustPointsResult($soapAdjustPointsResult) public function parseRelationPoints($soapRelationPoints) { - return objectToArray($soapRelationPoints->relationPointsLst); + if (isset($soapRelationPoints->relationPointsLst)) { + return objectToArray($soapRelationPoints->relationPointsLst); + } + else { + return array(); + } } //----------------------------------------------------------------------------