]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-lock_sponsor.php
Old config.php is now automatically updated to new config-local.php format, several...
[mailer.git] / inc / modules / admin / what-lock_sponsor.php
index e640e77360babcfe5794fcd493a305b0e17bc295..37f54d1bee1e7f79b8f5189d60d58ee49bc06b9c 100644 (file)
@@ -49,7 +49,7 @@ $message = '';
 if (REQUEST_ISSET_GET('id')) {
        // Check for selected sponsor
        $result = SQL_QUERY_ESC("SELECT gender, surname, family, email, status FROM `{!_MYSQL_PREFIX!}_sponsor_data` WHERE `id`='%s' LIMIT 1",
-        array(bigintval(REQUEST_GET('id'))), __FILE__, __LINE__);
+       array(bigintval(REQUEST_GET('id'))), __FILE__, __LINE__);
        if (SQL_NUMROWS($result) == 1) {
                // Get sponsor's current status and let only confirmed and locked status pass
                list($gender, $sname, $fname, $email, $status) = SQL_FETCHROW($result);
@@ -84,7 +84,7 @@ if (REQUEST_ISSET_GET('id')) {
 
                                // Update sponsor's account
                                SQL_QUERY_ESC("UPDATE `{!_MYSQL_PREFIX!}_sponsor_data` SET `status`='".$status."' WHERE `id`='%s' LIMIT 1",
-                                       array(bigintval(REQUEST_GET('id'))), __FILE__, __LINE__);
+                               array(bigintval(REQUEST_GET('id'))), __FILE__, __LINE__);
                        } elseif (REQUEST_ISSET_POST(('no'))) {
                                // No don't lock / unlock now!
                                redirectToUrl('modules.php?module=admin&what=list_sponsor&id='.bigintval(REQUEST_GET('id')));