]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_beg.php
(Possible) fixes for illegal array indexes
[mailer.git] / inc / modules / admin / what-list_beg.php
index 3bb5aba71f942586923c3e552d17eecd63b77fee..aa529945939a792020ebc9660e152796a05ff664 100644 (file)
@@ -67,7 +67,7 @@ if (getConfig('beg_rallye') == 'Y') {
 FROM `{!_MYSQL_PREFIX!}_user_data`
 WHERE `status`='CONFIRMED' AND beg_points > 0".$lastOnline."
 ORDER BY beg_points DESC, last_online DESC, userid",
-        array($ONLINE), __FILE__, __LINE__);
+       array($ONLINE), __FILE__, __LINE__);
 
        if (SQL_NUMROWS($result) > 0) {
                // List users
@@ -91,7 +91,7 @@ ORDER BY beg_points DESC, last_online DESC, userid",
                                'sname'  => $content['surname'],
                                'fname'  => $content['family'],
                                'turbo'  => translateComma($content['beg_points']),
-                               'last'   => generateDateTime($content['last_online'], "2"),
+                               'last'   => generateDateTime($content['last_online'], '2'),
                                'sw'     => $SW,
                                'win1'   => $WIN1,
                                'win2'   => $WIN2,
@@ -116,7 +116,7 @@ ORDER BY beg_points DESC, last_online DESC, userid",
 
                // Prepare constant for timemark
                if (EXT_IS_ACTIVE('autopurge')) {
-                       define('__AUTOPURGE_TIMEOUT', generateDateTime(time() - getConfig('ap_inactive_since'), "2"));
+                       define('__AUTOPURGE_TIMEOUT', generateDateTime(time() - getConfig('ap_inactive_since'), '2'));
                } else {
                        define('__AUTOPURGE_TIMEOUT', sprintf(getMessage('EXTENSION_PROBLEM_NOT_INSTALLED'), 'autopurge'));
                }