diff options
author | Patrick Davison <snapwilliam@gmail.com> | 2013-05-29 23:14:46 -0700 |
---|---|---|
committer | Patrick Davison <snapwilliam@gmail.com> | 2013-05-29 23:14:46 -0700 |
commit | d55563d890113b3ab3c49b513a34124e1df8c704 (patch) | |
tree | e1fb1b40ad3e845d6df08e323a21c570f134e3ea /includes/emails.php | |
parent | 7b0dbb4a8a57b1ee3ab3dc5abb871311ae434d7f (diff) | |
parent | 550a14a669ca4271db64856ff7c7ce376fc2cd34 (diff) | |
download | pathery-d55563d890113b3ab3c49b513a34124e1df8c704.tar.xz |
Merge
Diffstat (limited to 'includes/emails.php')
-rw-r--r-- | includes/emails.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/emails.php b/includes/emails.php index 74658ad..7a54a89 100644 --- a/includes/emails.php +++ b/includes/emails.php @@ -81,11 +81,11 @@ function SendQueuedEmail() { return true;
}
-function QueueEmail($fromUserID, $to, $subject, $body, $priority = 100, $fromServer = false) {
+function QueueEmail($fromUserID, $to, $subject, $body, $priority = 100) {
global $mysqli;
//TODO !! allow a way for users to refer-friends via email. Here.
- if ($fromServer == false) {
+ if ($fromUserID !== null) {
return false;
//Email tracker is not added !!
$res = $mysqli->query("SELECT `fromUserID` FROM emailTracker WHERE `fromUserID` = '$fromUserID'");
|