X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-list_primera.php;h=def0b9986cbb99607c8c396dd45ad49d731a7b27;hb=0ddf8f6c578aa2c1ff1db9fb8eb0b93a1e247b73;hp=1d9c0373d42d35eca394dc3c7b61b5601034d0d8;hpb=29385a0483bbcbbe940a32a49d488b1d5add15c5;p=mailer.git diff --git a/inc/modules/admin/what-list_primera.php b/inc/modules/admin/what-list_primera.php index 1d9c0373d4..def0b9986c 100644 --- a/inc/modules/admin/what-list_primera.php +++ b/inc/modules/admin/what-list_primera.php @@ -14,8 +14,6 @@ * $Date:: $ * * $Tag:: 0.2.1-FINAL $ * * $Author:: $ * - * Needs to be in all Files and every File needs "svn propset * - * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * * Copyright (c) 2009, 2010 by Mailer Developer Team * @@ -56,12 +54,11 @@ ORDER BY __FILE__, __LINE__); // Are there some entries to display? -if (SQL_NUMROWS($result) > 0) { +if (!SQL_HASZERONUMS($result)) { // List all entries - $OUT = ''; $SW = 2; + $OUT = ''; while ($content = SQL_FETCHARRAY($result)) { // Translate some data and add color - $content['sw'] = $SW; $content['primera_timestamp'] = generateDateTime($content['primera_timestamp'], 2); // Fix empty message and status @@ -69,7 +66,6 @@ if (SQL_NUMROWS($result) > 0) { // Append it and switch colors $OUT .= loadTemplate('admin_list_primera_row', true, $content); - $SW = 3 - $SW; } // END - while // Load main template