Renamed ifSqlHasZeroNums() to ifSqlHasZeroNumRows() and improved some queries.
[mailer.git] / inc / modules / admin / what-list_links.php
index b5140da685ce5b2157817d316607a20a53d58b83..b0b5309e31be1d841e47d399626315a526407ecf 100644 (file)
@@ -16,7 +16,7 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2013 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 *
@@ -68,7 +68,7 @@ if (isGetRequestElementSet('userid')) {
                        ), __FILE__, __LINE__);
 
                // Are there some entries?
-               if (!ifSqlHasZeroNums($result)) {
+               if (!ifSqlHasZeroNumRows($result)) {
                        // Some unconfirmed mails left
                        if (getRequestElement('delete') == 'all') {
                                // Delete all unconfirmed mails by this user
@@ -112,7 +112,7 @@ if (isGetRequestElementSet('userid')) {
                                                        break;
 
                                                default: // Problem in application detected!
-                                                       reportBug(__FILE__, __LINE__, sprintf("Invalid email type %s detected.", $linkData['link_type']));
+                                                       reportBug(__FILE__, __LINE__, sprintf('Invalid email type %s detected.', $linkData['link_type']));
                                                        break;
                                        } // END - switch