Skip to content
Snippets Groups Projects
Unverified Commit fb701722 authored by Jagraj Singh Gill's avatar Jagraj Singh Gill Committed by Hussain Abbas
Browse files

Issue #3394985 by jagraj_singh_gill: Attempt to read property "value" on array...

Issue #3394985 by jagraj_singh_gill: Attempt to read property "value" on array in Drupal\do_username\DOComputedFields->getValue()
parent 95afa386
No related branches found
No related tags found
No related merge requests found
......@@ -34,7 +34,7 @@ class DOComputedFields extends TypedData {
// Get the information from cache depending on the field type.
switch ($field_type) {
case 'bio':
return $userInformation->field_bio->value;
return $userInformation->field_bio->value ?? '';
case 'contributions':
return $userInformation->field_contributed;
......
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