Added comment
This commit is contained in:
parent
75a90f5e5d
commit
3666742e7b
|
@ -2743,6 +2743,7 @@ class Item
|
||||||
$leading = '';
|
$leading = '';
|
||||||
$trailing = '';
|
$trailing = '';
|
||||||
|
|
||||||
|
// @todo In the future we should make a single for the template engine with all media in it. This allows more flexibilty.
|
||||||
foreach ($attachments['visual'] as $attachment) {
|
foreach ($attachments['visual'] as $attachment) {
|
||||||
if (self::containsLink($item['body'], $attachment['url'])) {
|
if (self::containsLink($item['body'], $attachment['url'])) {
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user