Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Confirmation e-mails sent twice

edited June 2013 in Vanilla 2.0 - 2.8

Hey guys,

What's up?

I have a problem with my set-up Version 2.0.18.8 on www.toneelgroepantwerpen.be/forum

I've added the AdvancedNotifications option for the users, but the e-mails are actually being sent twice, is there an easy way to fix this?

Thanks a billion in advance!

Robert

Comments

  • Done some searching myself and I think the problem might be here, but I have no idea how to correct it.

    // If $SendEmail was FALSE or TRUE, let it override the $Notify setting.
      if ($SendEmail === FALSE || $SendEmail === TRUE)
         $Notify = $SendEmail;
    
      // Otherwise let the decision to email lie with the $Notify setting.
    
      // Send a notification to the user.
      if ($Notify) {
         if ($QueueEmail)
            $this->QueueNotification($ActivityID, $Story, 'last', $SendEmail == 'Force');
         else
            $this->SendNotification($ActivityID, $Story, $SendEmail == 'Force');
      }
    
      return $ActivityID;
    

    }

Sign In or Register to comment.