]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/task_functions.php
All CSS classes top2,bottom2,right2,left2 are now deprecated, user details now have...
[mailer.git] / inc / libs / task_functions.php
index 7179c326b604e689cae6943319984a3dbf743b14..46831953394ddc8daa341eda76ef772bacb6da9e 100644 (file)
@@ -268,7 +268,7 @@ ORDER BY
                $TITLEs[] = getMessage('ADMIN_TASK_INACTIVE_AUTOPURGE_TITLE');
        }
 
-       if (getExtensionVersion('sql_patches') >= '0.3.4') {
+       if (isExtensionInstalledAndNewer('sql_patches', '0.3.4')) {
                // Check for accounts without referal
                addSql("SELECT `userid` FROM `{?_MYSQL_PREFIX?}_user_data` WHERE `refid`=0 ORDER BY `userid` ASC");
                $DESCRs[] = getMessage('ADMIN_TASK_LIST_ACCOUNT_NOREF');
@@ -574,7 +574,7 @@ function createExtraTaskRows ($WHATs, $DESCRs, $TITLEs) {
                        );
 
                        // Rewrite CSS class if not last entry is reached
-                       if ($key < (count($sqls) - 1)) $content['bottom'] = 'bottom2';
+                       if ($key < (count($sqls) - 1)) $content['bottom'] = 'bottom';
 
                        if (($value > 0) && (!empty($WHATs[$key]))) {
                                if (empty($TITLEs[$key])) $TITLEs[$key] = getMessage('ADMIN_TASK_UNKNOWN_LIST_TITLE');