]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_task.php
A lot double-quotes rewritten to single-quotes, global fix for getMessage() calls
[mailer.git] / inc / modules / admin / what-list_task.php
index ea2c0ad3e4a45be7074731e82915a620940b002e..8835316d6f52b0ab889ac7464e5b21c6dff3672c 100644 (file)
@@ -41,7 +41,7 @@ if ((!defined('__SECURITY')) || (!IS_ADMIN())) {
        $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), '/inc') + 4) . '/security.php';
        require($INC);
 } elseif (!EXT_IS_ACTIVE('task')) {
-       addFatalMessage(__FILE__, __LINE__, getMessage('EXTENSION_PROBLEM_EXT_INACTIVE'), 'task');
+       addFatalMessage(__FILE__, __LINE__, sprintf(getMessage('EXTENSION_PROBLEM_EXT_INACTIVE'), 'task'));
        return;
 }
 
@@ -134,7 +134,7 @@ ORDER BY userid DESC, task_type DESC, subject, task_created DESC", __FILE__, __L
                $OUT = ''; $SW = 2;
                while ($content = SQL_FETCHARRAY($result_tasks)) {
                        // Init infos
-                       $content['infos'] = "---";
+                       $content['infos'] = '---';
 
                        // Generate link
                        $content['assigned_admin'] = GENERATE_AID_LINK($content['assigned_admin']);