]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/overview-inc.php
Several code-cleanups:
[mailer.git] / inc / modules / admin / overview-inc.php
index b4ae79de664cd86b439ddd437777afaab53b494b..7304ac172f49c73350ef8ed5db62bf254280d59f 100644 (file)
@@ -115,7 +115,7 @@ ORDER BY
                array(getCurrentAdminId()), __FILE__, __LINE__);
 
        if (!SQL_HASZERONUMS($result_tasks)) {
                array(getCurrentAdminId()), __FILE__, __LINE__);
 
        if (!SQL_HASZERONUMS($result_tasks)) {
-               // New jobs found!
+               // New jobs found
                $jobsDone = false;
        } // END - if
 
                $jobsDone = false;
        } // END - if
 
@@ -177,7 +177,7 @@ LIMIT 1",
                                                $add = '<li>{--ADMIN_MEMBER_UID--}: <strong>' . generateUserProfileLink($taskData['userid'], 'user_data') . ' (<a href="' . generateEmailLink($content['email'], 'user_data') . '">' . translateGender($content['gender']) . ' ' . $content['surname'] . ' ' . $content['family'] . '</a>)</strong></li>';
                                        } else {
                                                // Invalid userid, so log and zero it
                                                $add = '<li>{--ADMIN_MEMBER_UID--}: <strong>' . generateUserProfileLink($taskData['userid'], 'user_data') . ' (<a href="' . generateEmailLink($content['email'], 'user_data') . '">' . translateGender($content['gender']) . ' ' . $content['surname'] . ' ' . $content['family'] . '</a>)</strong></li>';
                                        } else {
                                                // Invalid userid, so log and zero it
-                                               logDebugMessage(__FUNCTION__, __LINE__, 'Invalid userid=' . $taskData['userid'] . ' -> not found!');
+                                               logDebugMessage(__FUNCTION__, __LINE__, 'fetchUserData() failed: userid=' . $taskData['userid'] . ' not found.');
                                                $taskData['userid'] = '0';
                                        }
                                } // END - if
                                                $taskData['userid'] = '0';
                                        }
                                } // END - if