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

ISTWCMS-4947: fixing undefined index error a better way

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