Changeset 1061 in ExiteCMS for modules/common/mail2forum/php-files/modules/mail2forum/m2f_smtp.php
- Timestamp:
- 11/05/07 21:44:44 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/common/mail2forum/php-files/modules/mail2forum/m2f_smtp.php
r890 r1061 306 306 // get all subscribed users for this forum 307 307 $result2 = dbquery("SELECT u.*, c.* FROM ".$db_prefix."users u, ".$db_prefix."M2F_subscriptions s, ".$db_prefix."M2F_config c 308 WHERE s.m2f_forumid = '".$postrecord['forum_id']."' AND s.m2f_subscribed = '1' AND u.user_ id = s.m2f_userid AND u.user_id = c.m2f_userid");308 WHERE s.m2f_forumid = '".$postrecord['forum_id']."' AND s.m2f_subscribed = '1' AND u.user_status = 0 AND u.user_bad_email = 0 AND u.user_id = s.m2f_userid AND u.user_id = c.m2f_userid"); 309 309 while ($recipient = dbarray($result2)) { 310 310 if (M2F_SMTP_DEBUG) logdebug('RECIPIENT', print_r($recipient, true)); … … 312 312 // get the senders profile (need the email address and the email-hidden flag) 313 313 if ($edit_post) { 314 // check ofautomatic or system posts314 // check for automatic or system posts 315 315 if ($postrecord['post_edituser'] != 0) { 316 316 $poster = dbarray(dbquery("SELECT user_name, user_fullname, user_email, user_hide_email FROM ".$db_prefix."users WHERE user_id = '".$postrecord['post_edituser']."'"));
Note: See TracChangeset
for help on using the changeset viewer.
