]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_unconfirmed.php
Continued:
[mailer.git] / inc / modules / admin / what-list_unconfirmed.php
index 66bdca441a1ec7f18ae96523d903410fa810f301..5e4f9f5db0031b54c9ec36709a877aca3f6ca08b 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 - 2016 by Mailer Developer Team                   *
  * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -144,7 +144,7 @@ if (($listed === TRUE) && (!empty($sql))) {
        `u`.`status`,
        `u`.`surname`,
        `u`.`family`,
-       `u`.`gender`,
+       `u`.`sex`,
        `u`.`email`
 FROM
        `{?_MYSQL_PREFIX?}_user_links` AS `l`
@@ -164,7 +164,7 @@ LIMIT %s",
                        ),__FILE__, __LINE__);
 
                // Are there entries?
-               if (!ifSqlHasZeroNums($result)) {
+               if (!ifSqlHasZeroNumRows($result)) {
                        // At least one link left to confirm
                        $OUT = '';
                        while ($row = sqlFetchArray($result)) {
@@ -175,7 +175,7 @@ LIMIT %s",
                                                'userid' => $row['userid'],
                                                'type'   => getRequestElement('type'),
                                                'id'     => $ID,
-                                               'email'  => '<a href="' . generateEmailLink($row['email'], 'user_data') . '">{%pipe,translateGender=' . $row['gender'] . '%} ' . $row['surname'] . ' ' . $row['family'] . '</a>',
+                                               'email'  => '<a href="' . generateEmailLink($row['email'], 'user_data') . '">{%pipe,translateSex=' . $row['sex'] . '%} ' . $row['surname'] . ' ' . $row['family'] . '</a>',
                                                'status' => $row['status'],
                                        );