1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-06 14:46:56 +02:00

Bugtracker #4056 - duplicate display names - hopefully the last time!

This commit is contained in:
e107steved
2007-09-18 19:12:27 +00:00
parent 990afbe76d
commit 68c4913439

View File

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