Skip to content

Commit

Permalink
Merge branch 'hotfix/1.2.4' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
Toflar committed Jul 7, 2015
2 parents 7ce1b5a + c2cecc8 commit 852733f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions library/NotificationCenter/MessageDraft/EmailMessageDraft.php
Expand Up @@ -183,6 +183,11 @@ public function getAttachments()

if (!empty($arrStaticAttachments)) {
$objFiles = \FilesModel::findMultipleByUuids($arrStaticAttachments);

if ($objFiles === null) {
return $arrAttachments;
}

while ($objFiles->next()) {
$arrAttachments[] = TL_ROOT . '/' . $objFiles->path;
}
Expand Down

0 comments on commit 852733f

Please sign in to comment.