From f81d1b084657907275ba9c0f03407f6abab7ba6e Mon Sep 17 00:00:00 2001 From: Roliga Date: Sat, 5 Jan 2019 13:27:12 +0100 Subject: [PATCH] [TrelloBridge] Fix actions with missing image urls (#987) When an action is added then removed the image url properties of that action are missing --- bridges/TrelloBridge.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bridges/TrelloBridge.php b/bridges/TrelloBridge.php index 3db67d64..23db9617 100644 --- a/bridges/TrelloBridge.php +++ b/bridges/TrelloBridge.php @@ -568,7 +568,9 @@ class TrelloBridge extends BridgeAbstract { foreach($entities as $entity_name => $entity) { $type = $entity->type; - if($type === 'attachmentPreview' && !$textOnly) { + if($type === 'attachmentPreview' + && !$textOnly + && isset($entity->originalUrl)) { $string = '