"Creating default object from empty value" when querying multiple relations
mtricht opened this issue · 0 comments
mtricht commented
When querying multiple relations the following PHP warning appears:
Warning: Creating default object from empty value in developerforce/force.com-toolkit-for-php/soapclient/SforceBaseClient.php on line 1097
Add:
if (is_null($this->fields)) {
$this->fields = new stdClass();
}
After:
if (sizeof($anArray) > 0) {