From 550a14a669ca4271db64856ff7c7ce376fc2cd34 Mon Sep 17 00:00:00 2001 From: BlueRaja Date: Wed, 29 May 2013 06:58:14 -0500 Subject: Set up foreign keys within the database. There is a small chance I may have broken emails, unlocks, or chat. Will test :) --- pages/login.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pages/login.php') diff --git a/pages/login.php b/pages/login.php index 07662c3..04b4083 100644 --- a/pages/login.php +++ b/pages/login.php @@ -139,7 +139,7 @@ try { throwLoginError($d, "Unknown DB Registration failure"); exit; } - addchat(-1, "New user registered: \"$display\""); + addchat(null, "New user registered: \"$display\""); sendNewUserEmail($userID, $email, $display, $dateJoined); } //If 'remember me' use this for cookie password @@ -193,7 +193,7 @@ Happy Pathing, The Pathery Team "; $emailSubject = 'Welcome to Pathery.com!'; - QueueEmail(0, $email, $emailSubject, $emailBody, 5, true); + QueueEmail(null, $email, $emailSubject, $emailBody, 5); } function throwLoginError($data, $explination) { -- cgit v1.2.3