mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 16:56:44 +02:00
some bugfixes... cvs does not work very well at the moment. hope the change within the mssql schema do the job, i will test this tonight (i have to be at work in a few minutes).
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@4157 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -84,7 +84,8 @@ function get_userdata($user, $force_str = false)
|
||||
if (intval($user) == 0 || $force_str)
|
||||
{
|
||||
$user = trim(htmlspecialchars($user));
|
||||
$user = substr(str_replace("\'", "'", $user), 0, 25);
|
||||
$user = substr(str_replace("\\'", "'", $user), 0, 25);
|
||||
$user = str_replace("'", "\\'", $user);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user