]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_wernis.php
Introduced padLeftZero()
[mailer.git] / inc / modules / admin / what-list_wernis.php
index 838c5a815f8dff56fb9ca03e41d18a9c4aca97e6..9c45ff11d358bff306f3c5acb9a57abc5e8989fa 100644 (file)
@@ -16,7 +16,7 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
+ * Copyright (c) 2009 - 2012 by Mailer Developer Team                   *
  * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -69,14 +69,17 @@ if (!SQL_HASZERONUMS($result)) {
                $content['wernis_timestamp'] = generateDateTime($content['wernis_timestamp'], 2);
 
                // Fix empty message and status
-               if (empty($content['wernis_api_status']))  $content['wernis_api_status']  = 'OK';
+               if (empty($content['wernis_api_status'])) {
+                       // Needs to be fixed to 'OK'
+                       $content['wernis_api_status']  = 'OK';
+               } // END - if
 
                // Append it and switch colors
-               $OUT .= loadTemplate('admin_list_wernis_row', true, $content);
+               $OUT .= loadTemplate('admin_list_wernis_row', TRUE, $content);
        } // END - while
 
        // Load main template
-       loadTemplate('admin_list_wernis_main', false, $OUT);
+       loadTemplate('admin_list_wernis_main', FALSE, $OUT);
 } else {
        // Nothing to display!
        displayMessage('{--ADMIN_WERNIS_NO_TRANSFERS--}');