X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Ffilter%2Fhtml_mail_filter.php;h=42745b49f5a21fec2881e8a67e14d6df040c6383;hb=c1849d27a96d4e533e130ba1ae302c1ef81a3bf3;hp=3ed27944833454a5acef0475d3b4c7eb3d095726;hpb=e5dffd4249c97200cbad02f3f4eaf5c373fdb89a;p=mailer.git diff --git a/inc/filter/html_mail_filter.php b/inc/filter/html_mail_filter.php index 3ed2794483..42745b49f5 100644 --- a/inc/filter/html_mail_filter.php +++ b/inc/filter/html_mail_filter.php @@ -16,7 +16,7 @@ * $Author:: $ * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009 - 2013 by Mailer Developer Team * + * Copyright (c) 2009 - 2016 by Mailer Developer Team * * For more information visit: http://mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -64,5 +64,19 @@ function FILTER_CHECK_HTML_MAIL_ORDER ($filterData) { return $filterData; } +// Prepares an SQL statement part for HTML mail +function FILTER_HTML_INCLUDE_USERS ($mode) { + // Exclude no users by default + $MORE = ''; + + // HTML mail? + if ($mode == 'html') { + $MORE = " AND `html`='Y'"; + } // END - if + + // Return result + return $MORE; +} + // [EOF] ?>