just kidding, this is the actual fix
This commit is contained in:
parent
04899040fe
commit
920e5453da
Binary file not shown.
Binary file not shown.
@ -292,7 +292,7 @@ namespace SharedLibrary
|
|||||||
//Returns a list of players matching name parameter, null if no players found matching
|
//Returns a list of players matching name parameter, null if no players found matching
|
||||||
public List<Player> findPlayers(String name)
|
public List<Player> findPlayers(String name)
|
||||||
{
|
{
|
||||||
name = name.Replace("'", "''");
|
name = name.Replace("'", "");
|
||||||
String Query = String.Format("SELECT * FROM CLIENTS WHERE Name LIKE '%{0}%' LIMIT 32", name);
|
String Query = String.Format("SELECT * FROM CLIENTS WHERE Name LIKE '%{0}%' LIMIT 32", name);
|
||||||
DataTable Result = GetDataTable(Query);
|
DataTable Result = GetDataTable(Query);
|
||||||
|
|
||||||
@ -486,6 +486,7 @@ namespace SharedLibrary
|
|||||||
|
|
||||||
public List<Aliases> findPlayers(String name)
|
public List<Aliases> findPlayers(String name)
|
||||||
{
|
{
|
||||||
|
name = name.Replace("'", "");
|
||||||
String[] EyePee = name.Split('.');
|
String[] EyePee = name.Split('.');
|
||||||
String Penor = "THISISNOTANIP";
|
String Penor = "THISISNOTANIP";
|
||||||
if (EyePee.Length > 1)
|
if (EyePee.Length > 1)
|
||||||
|
Loading…
Reference in New Issue
Block a user