Skip to content
Snippets Groups Projects
Commit 3b17739b authored by Prasad's avatar Prasad
Browse files

Merge branch '991__1' into 'master'

#Fixes::991::Yogeshwar::SendReminder.service sets *ALL* reminders as sent

See merge request vtiger/vtigercrm!1116
parents 3b8435e5 92dbc8ea
No related branches found
No related tags found
1 merge request!1116#Fixes::991::Yogeshwar::SendReminder.service sets *ALL* reminders as sent
...@@ -197,8 +197,8 @@ if($adb->num_rows($result) >= 1) ...@@ -197,8 +197,8 @@ if($adb->num_rows($result) >= 1)
if(php7_count($to_addr) >=1) if(php7_count($to_addr) >=1)
{ {
send_email($to_addr,$from,$subject,$contents,$mail_server,$mail_server_username,$mail_server_password); send_email($to_addr,$from,$subject,$contents,$mail_server,$mail_server_username,$mail_server_password);
$upd_query = "UPDATE vtiger_activity_reminder SET reminder_sent = ?"; $upd_query = "UPDATE vtiger_activity_reminder SET reminder_sent = ?WHERE activity_id = ?";
$upd_params = array(1); $upd_params = array('1',$activity_id);
if($recur_id!=0) if($recur_id!=0)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment