Skip to content

Commit

Permalink
Protect against errors when descriptions are not defined
Browse files Browse the repository at this point in the history
  • Loading branch information
Marlinc committed Jan 5, 2016
1 parent 960a229 commit af7d478
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Soap/Search.php
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ public function __call($functionName, $arguments)
],
'learning_pathway' => $result->Leerweg,
'kind' => $result->LeerplaatsSoort,
'description' => ($result->VacatureLeerplaatsOmschrijving) ? $result->VacatureLeerplaatsOmschrijving : null,
'description' => (@$result->VacatureLeerplaatsOmschrijving) ? $result->VacatureLeerplaatsOmschrijving : null,
'amount' => $result->LeerplaatsAantal
];

Expand Down

0 comments on commit af7d478

Please sign in to comment.