]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_networks.php
Naming convention applied to language strings, new API function added:
[mailer.git] / inc / modules / admin / what-list_networks.php
index 2d931e8944e44165d9255dc32163d70bc1c41ed9..c9e26e2c1655e6f596316cc0c4bf42d1bac2fc92 100644 (file)
@@ -72,18 +72,12 @@ ORDER BY
        `network_short_name` ASC', __FILE__, __LINE__);
 
 // Do we have entries?
-if (SQL_NUMROWS($result) > 0) {
+if (!SQL_HASZERONUMS($result)) {
        // List all
-       $SW = 2; $OUT = '';
+       $OUT = '';
        while ($content = SQL_FETCHARRAY($result)) {
-               // Add color switching
-               $content['sw'] = $SW;
-
                // Load row template
                $OUT .= loadTemplate('admin_list_networks_row', true, $content);
-
-               // Switch color
-               $SW = 3 - $SW;
        } // END - while
 
        // Load main template