Skip to content
Snippets Groups Projects
Verified Commit cd5dc6fb authored by Frank Mably's avatar Frank Mably
Browse files

Issue #3487516 by mably: Warning shown on page when purging caches

parent dea17286
No related branches found
No related tags found
1 merge request!40Issue #3487516 by mably: Warning shown on page when purging caches
Pipeline #340147 failed
...@@ -103,6 +103,9 @@ class AbleplayerRemoteVideoFormatter extends FormatterBase { ...@@ -103,6 +103,9 @@ class AbleplayerRemoteVideoFormatter extends FormatterBase {
if ($parent->hasField('ableplayer_audio_description')) { if ($parent->hasField('ableplayer_audio_description')) {
$audio_description_url = $parent->ableplayer_audio_description->value; $audio_description_url = $parent->ableplayer_audio_description->value;
} }
else {
$audio_description_url = NULL;
}
foreach ($items as $delta => $item) { foreach ($items as $delta => $item) {
$main_property = $item->getFieldDefinition()->getFieldStorageDefinition()->getMainPropertyName(); $main_property = $item->getFieldDefinition()->getFieldStorageDefinition()->getMainPropertyName();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment