fix
This commit is contained in:
parent
5e11dc0393
commit
9be5466e77
@ -86,9 +86,9 @@ class MailController
|
||||
|
||||
$mailrows = $mailconn->execQuery(
|
||||
' SELECT mail_id, subject, content, attachments FROM t_mail WHERE 1=1 AND deleted=0 ' .
|
||||
' AND (user_reg_start_time=0 OR user_reg_end_time=0 OR (user_reg_start_time<:createtime AND user_reg_end_time>:createtime) ' .
|
||||
' AND (user_reg_start_time=0 OR user_reg_end_time=0 OR (user_reg_start_time<:createtime AND user_reg_end_time>:createtime)) ' .
|
||||
' AND expiretime>:nowtime ' .
|
||||
' AND recipients="" OR recipients LIKE "%:accountid%";',
|
||||
' AND (recipients="" OR recipients LIKE "%:accountid%");',
|
||||
array(
|
||||
':createtime' => $usercreate,
|
||||
':nowtime' => $nowtime,
|
||||
|
Loading…
x
Reference in New Issue
Block a user