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

ISTWCMS-5128: ensuring that getting plain text field does not have undefined variable error

parent 0729996b
No related branches found
No related tags found
1 merge request!172Feature/istwcms 5128 ebremner theme node services
...@@ -261,6 +261,8 @@ class UwNodeFieldValue { ...@@ -261,6 +261,8 @@ class UwNodeFieldValue {
*/ */
public function getPlainText(Node $node, string $field_name, bool $multiple = FALSE) { public function getPlainText(Node $node, string $field_name, bool $multiple = FALSE) {
$plain_text = '';
// If there are no multiple plain text, just return value. // If there are no multiple plain text, just return value.
// If there are multiple plain text, step through and // If there are multiple plain text, step through and
// get the values. // get the values.
......
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