Add web config option for HTML emails

This commit is contained in:
Eldon Koyle
2016-03-15 16:55:27 -06:00
parent 2e802d89e9
commit 6a53bcf688
4 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -21,4 +21,4 @@
* @subpackage Alerts
*/
return send_mail($obj['contacts'], $obj['title'], $obj['msg'], $opts['html'] ? true : false );
return send_mail($obj['contacts'], $obj['title'], $obj['msg'], ($config['email_html'] == 'true') ? true : false );