]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_sponsor.php
A lot double-quotes rewritten to single-quotes, global fix for getMessage() calls
[mailer.git] / inc / modules / admin / what-list_sponsor.php
index 26e13668fc5f99d1c9ad2dbe9a0cf83b14bfbf84..9bbaf602b7ffa6693de1830376226124c0748ecc 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);
 }
 
@@ -59,7 +59,7 @@ WHERE id='%s' LIMIT 1",
 
                // Check if an entry is empty
                foreach ($DATA as $k => $v) {
-                       if (empty($v)) $DATA[$k] = "---";
+                       if (empty($v)) $DATA[$k] = '---';
                }
 
                // Check for sponsor's orders (only count)