]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/sponsor_functions.php
Large code cleanups:
[mailer.git] / inc / libs / sponsor_functions.php
index 7c48106f356f15f0d0a088abc49c07cfefbfdf44..6853d09d82ba00b2ba4aa319194856f74865028d 100644 (file)
@@ -424,7 +424,7 @@ function saveSponsorData ($postData, $content) {
                        $EMAIL = true;
 
                        // Okay, has changed then add status with UNCONFIRMED and new hash code
-                       $sql .= " `status`='EMAIL', `hash`='%s',";
+                       $sql .= " `status`='EMAIL',`hash`='%s',";
 
                        // Generate hash code
                        // @TODO Rewrite this to API function
@@ -436,7 +436,7 @@ function saveSponsorData ($postData, $content) {
        $sql = substr($sql, 0, -1);
 
        // Add last_change
-       $sql .= ', `last_change`=NOW()';
+       $sql .= ',`last_change`=NOW()';
 
        // Add SQL tail data
        $sql .= " WHERE `id`=%s AND `password`='%s' LIMIT 1";