]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-lock_sponsor.php
Filters for configurable userid exclusion added:
[mailer.git] / inc / modules / admin / what-lock_sponsor.php
index c932979a54bfed6230e5cc9325e86214ce7d07fc..4464c66abc77eb0a23bb7cfd867e29eb3e751ae4 100644 (file)
@@ -46,7 +46,7 @@ $message = '';
 
 if (isGetRequestElementSet('id')) {
        // Check for selected sponsor
-       $result_sponsor = SQL_QUERY_ESC("SELECT `gender`,`surname`,`family`,`email`,`status` FROM `{?_MYSQL_PREFIX?}_sponsor_data` WHERE `id`=%s LIMIT 1",
+       $result_sponsor = SQL_QUERY_ESC("SELECT `gender`, `surname`, `family`, `email`, `status` FROM `{?_MYSQL_PREFIX?}_sponsor_data` WHERE `id`=%s LIMIT 1",
                array(bigintval(getRequestElement('id'))), __FILE__, __LINE__);
        if (SQL_NUMROWS($result_sponsor) == 1) {
                // Get sponsor's current status and let only confirmed and locked status pass
@@ -99,7 +99,7 @@ if (isGetRequestElementSet('id')) {
                                $content['email_link'] = '<a href="' . generateEmailLink($content['email'], 'sponsor_data') . '">' . $content['gender'] . ' ' . $content['surname'] . ' ' . $content['family'] . '</a>';
 
                                // Display form
-                               loadTemplate('admin_lock_sponsor', false, $content);
+                               loadTemplate('admin_lock_sponsor', FALSE, $content);
                        }
                } else {
                        // Cannot change status on unconfirmed or pending accounts!