X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Ffilters.php;h=b1784834747acc3e5cd82a9be03b740917f589c8;hp=db886a0d651df3c432abe16812a198e50baef5c9;hb=d1637dad0b2ca0e5fb411ee0843f01bfb4cc94e0;hpb=0e66cfbc7b29edeb2e8e1315408e3e3573f1fc2b diff --git a/inc/filters.php b/inc/filters.php index db886a0d65..b178483474 100644 --- a/inc/filters.php +++ b/inc/filters.php @@ -591,8 +591,10 @@ function FILTER_DETERMINE_USERNAME () { array(getUserId()), __FILE__, __LINE__); if (SQL_NUMROWS($result) == 1) { // Load surname and family's name and build the username - list($s, $f) = SQL_FETCHROW($result); - $username = $s . ' ' . $f; + $content = SQL_FETCHARRAY($result); + + // Prepare username + $username = $content['surname'] . ' ' . $content['family']; // Additionally admin? if (IS_ADMIN()) {