1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-29 10:38:08 +01:00

Bugtracker #4056 - display name update

This commit is contained in:
e107steved 2007-08-29 19:44:44 +00:00
parent 174f3d79d1
commit eeeeea8965

View File

@ -11,8 +11,8 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/usersettings.php,v $
| $Revision: 1.12 $
| $Date: 2007-08-07 19:27:18 $
| $Revision: 1.13 $
| $Date: 2007-08-29 19:44:44 $
| $Author: e107steved $
+----------------------------------------------------------------------------+
*/
@ -219,7 +219,7 @@ if (isset($_POST['updatesettings']))
}
// Display Name exists.
if ($sql->db_Count("user", "(*)", "WHERE user_name='".$username."'"))
if ($sql->db_Count("user", "(*)", "WHERE `user_name`='".$username."' AND `user_id` != '".USERID."' "))
{
$error .= LAN_USET_17;
}