X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Flibs%2Ftask_functions.php;h=10298ce43d7751f05e0d6d23d5b5e062b500767f;hp=5656d7523cd110ff1d7de3dd224c23667d1ab30c;hb=4cec044b57773e28423261c71f918f3e22ca8a75;hpb=64c8349613addc3da2242c5cd6b99d64e3fb5f8e
diff --git a/inc/libs/task_functions.php b/inc/libs/task_functions.php
index 5656d7523c..10298ce43d 100644
--- a/inc/libs/task_functions.php
+++ b/inc/libs/task_functions.php
@@ -1,7 +1,7 @@
0) {
$content['new_tasks'] = "".$value."";
@@ -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,13 +574,13 @@ 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');
$content['row_link'] = "".$value."";
} else {
- $content['row_link'] = 0;
+ $content['row_link'] = '0';
}
// And insert the final string into extras template