X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-list_cats.php;h=73282a156468fcd838905735dc1185a511d636de;hb=ed37c3c3ccfe6b0bc15315fe79d5eef0b441fa9f;hp=2dffa041f500c0fe9673e24f2c5643e8b7f373cc;hpb=330dbb3e2b34450cd1665497506455e195a0a166;p=mailer.git
diff --git a/inc/modules/admin/what-list_cats.php b/inc/modules/admin/what-list_cats.php
index 2dffa041f5..73282a1564 100644
--- a/inc/modules/admin/what-list_cats.php
+++ b/inc/modules/admin/what-list_cats.php
@@ -52,8 +52,7 @@ if (isGetRequestParameterSet('userid')) {
// Prepare constants
// @TODO No longer needed? define('__CATEGORIES_BASE' , '' . $content['surname'] . ' ' . $content['family'] . '';
+ $content['email'] = '{%pipe,translateGender=' . $content['gender'] . '%} ' . $content['surname'] . ' ' . $content['family'] . '';
// Ok, list categories of this user
$result_cats = SQL_QUERY("SELECT `id`, `cat` FROM `{?_MYSQL_PREFIX?}_cats` ORDER BY `sort` ASC", __FILE__, __LINE__);
@@ -72,7 +71,9 @@ if (isGetRequestParameterSet('userid')) {
// Set selection
$selection = '{--NO--}';
- if (SQL_NUMROWS($result_user) == 1) $selection = '{--YES--}';
+ if (SQL_NUMROWS($result_user) == 1) {
+ $selection = '{--YES--}';
+ } // END - if
// Add more elements
$content['cnt'] = $count;