Skip to content
Snippets Groups Projects
Commit 1d09ba74 authored by Eric Bremner's avatar Eric Bremner
Browse files

ISTWCMS-4947: fixing undefined index error

parent 599714be
No related branches found
No related tags found
No related merge requests found
......@@ -316,7 +316,12 @@ class UWService implements UWServiceInterface {
break;
case 'address':
$node_data['address'] = $node->$data->getValue()[0];
if ($node->$data->getValue()) {
$node_data['address'] = $node->$data->getValue()[0];
}
else {
$node_data['address'] = NULL;
}
break;
case 'author':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment