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

ISTWCMS-4947: fixing undefined index error again

parent a1e64940
No related branches found
No related tags found
No related merge requests found
......@@ -316,7 +316,11 @@ class UWService implements UWServiceInterface {
break;
case 'address':
$node_data['address'] = $node->$data->value;
$node_data['address'] = NULL;
$address = $node->$data->getValue();
if (isset($address[0])) {
$node_data['address'] = $address[0];
}
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