X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=inc%2Flibs%2Ftask_functions.php;h=10298ce43d7751f05e0d6d23d5b5e062b500767f;hb=4cec044b57773e28423261c71f918f3e22ca8a75;hp=08adc665b24d79c53a4d282c33992a0e47f80d82;hpb=9afd6ec5878544a7982c50ed9c0dd7de37606d5b;p=mailer.git diff --git a/inc/libs/task_functions.php b/inc/libs/task_functions.php index 08adc665b2..10298ce43d 100644 --- a/inc/libs/task_functions.php +++ b/inc/libs/task_functions.php @@ -1,7 +1,7 @@ = '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');