1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-28 17:02:04 +03:00

Re-enabled plaintext view for email notifications

Updated mail notifications to set the HTML and plaintext views since before
no plaintext version was being created.

Closes #1182
This commit is contained in:
Dan Brown
2018-12-16 20:44:57 +00:00
parent 651ae2f3be
commit 7f6929d716
5 changed files with 55 additions and 54 deletions

View File

@ -2,8 +2,6 @@
if (! empty($greeting)) {
echo $greeting, "\n\n";
} else {
echo $level == 'error' ? 'Whoops!' : 'Hello!', "\n\n";
}
if (! empty($introLines)) {