return preview also if we have no attachment
This commit is contained in:
parent
2a34a497d5
commit
d183e47dc9
@ -53,8 +53,8 @@ class Mail extends \Zotlabs\Web\Controller {
|
||||
}
|
||||
$body = trim(str_replace($match[1],'',$body));
|
||||
}
|
||||
echo json_encode(['preview' => zidify_links(smilies(bbcode($body)))]);
|
||||
}
|
||||
echo json_encode(['preview' => zidify_links(smilies(bbcode($body)))]);
|
||||
}
|
||||
killme();
|
||||
}
|
||||
|
Reference in New Issue
Block a user