X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_imprint.php;h=95e5eaed593464fb322a8e00dbc71f5ce7265573;hb=22f132c8d6314f76c69dff58ec0dac21f5ca3bf2;hp=62791b66874e7237650418f37d843d2c1a332966;hpb=09f5758c42a33a56bdd461c946ffe759a59c54aa;p=mailer.git diff --git a/inc/modules/admin/what-config_imprint.php b/inc/modules/admin/what-config_imprint.php index 62791b6687..95e5eaed59 100644 --- a/inc/modules/admin/what-config_imprint.php +++ b/inc/modules/admin/what-config_imprint.php @@ -53,18 +53,12 @@ if (isFormSent()) { $result = SQL_QUERY('SELECT `imprint_key`,`imprint_value` FROM `{?_MYSQL_PREFIX?}_imprint_data` ORDER BY `imprint_id` ASC', __FILE__, __LINE__); // Do we have entries? - if (SQL_NUMROWS($result) > 0) { + if (!SQL_HASZERONUMS($result)) { // Load all entries - $OUT = ''; $SW = 2; + $OUT = ''; while ($content = SQL_FETCHARRAY($result)) { - // Add more data - $content['sw'] = $SW; - // Load row template $OUT .= loadTemplate('admin_list_imprint_row', true, $content); - - // Switch color - $SW = 3 - $SW; } // END - while // Transfer all rows to $content