Skip to content
Snippets Groups Projects
Commit e8f5b2d2 authored by Fran Garcia-Linares's avatar Fran Garcia-Linares
Browse files

Issue #3379409 by fjgarlin, NickDickinsonWilde: Not handling old file correctly - AdvAgg

parent 0b2f94ca
No related branches found
No related tags found
1 merge request!11Issue #3379409: Not handling old file correctly - AdvAgg
Pipeline #174235 passed
......@@ -328,7 +328,7 @@ class DocBlock extends ContentEntityBase implements DocBlockInterface {
* {@inheritdoc}
*/
public function getCode() {
return $this->get('code')->value;
return $this->get('code')->value ?? '';
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment