]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_imprint.php
Renamed ifSqlHasZeroNums() to ifSqlHasZeroNumRows() and improved some queries.
[mailer.git] / inc / modules / admin / what-config_imprint.php
index 1779042b54d34396f22e0b21d7f41e96e911cf2a..603b92002a99d20e0d2a05b121e9e3f44e0e0b7a 100644 (file)
@@ -16,7 +16,7 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2012 by Mailer Developer Team                   *
+ * Copyright (c) 2009 - 2015 by Mailer Developer Team                   *
  * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -48,7 +48,7 @@ if (isFormSent('save_config')) {
        // Handle form ...
 } else {
        // Query for all imprint data rows
-       $result = SQL_QUERY('SELECT
+       $result = sqlQuery('SELECT
        `imprint_key`,
        `imprint_value`
 FROM
@@ -57,10 +57,10 @@ ORDER BY
        `imprint_id` ASC', __FILE__, __LINE__);
 
        // Are there entries?
-       if (!SQL_HASZERONUMS($result)) {
+       if (!ifSqlHasZeroNumRows($result)) {
                // Load all entries
                $OUT = '';
-               while ($content = SQL_FETCHARRAY($result)) {
+               while ($content = sqlFetchArray($result)) {
                        // Load row template
                        $OUT .= loadTemplate('admin_list_imprint_row', TRUE, $content);
                } // END - while