Numerous ext-sponsor fixes and HTML rewrites (sorry for lame description)
[mailer.git] / inc / modules / admin / what-unlock_sponsor.php
index 55735a498b72eb251c1f7cf689cc0c680dde481b..d91a05ba8d8c5954a08bd3ce5503d04704875075 100644 (file)
@@ -173,9 +173,6 @@ LIMIT 1",
                                } // END - if
                        } // END - if
 
-                       // Transfer data to array
-                       $content['points']   = translateComma($content['points_amount']);
-
                        // So let's send the email away
                        $message = loadEmailTemplate('sponsor_unlocked', $content);
                        sendEmail($content['email'], '{--SPONSOR_UNLOCKED_SUBJECT--}', $message);
@@ -192,7 +189,7 @@ $result = SQL_QUERY("SELECT
 FROM
        `{?_MYSQL_PREFIX?}_sponsor_data`
 WHERE
-       `status`='PENDING'
+       `status`='PENDING' OR `status`='UNCONFIRMED'
 ORDER BY
        `id`", __FILE__, __LINE__);