]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-unlock_sponsor.php
A lot double-quotes rewritten to single-quotes, global fix for getMessage() calls
[mailer.git] / inc / modules / admin / what-unlock_sponsor.php
index 7b90daf6fe65b494c0728ba6d4106a631ed1473d..e0ee294b52e034d9887e6b9b895182eb536bde7a 100644 (file)
@@ -38,7 +38,7 @@
 
 // Some security stuff...
 if ((!defined('__SECURITY')) || (!IS_ADMIN())) {
-       $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";
+       $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), '/inc') + 4) . '/security.php';
        require($INC);
 }
 
@@ -65,7 +65,7 @@ WHERE `status`='PENDING' AND id='%s' LIMIT 1",
 
                        if (SQL_NUMROWS($result_main) == 1) {
                                // Load data
-                               $content = SQL_FETCHROW($result_main);
+                               $content = SQL_FETCHARRAY($result_main);
 
                                // Check for open payments and close them
                                $result = SQL_QUERY_ESC("SELECT DISTINCT so.aid, so.pay_count, so.pay_ordered, so.pay_status,