Fixed mysql_real_escape_char errors
This commit is contained in:
parent
57b12e9916
commit
f8df6da103
BIN
www/images/log/ms_de_v4.jpg
Normal file
BIN
www/images/log/ms_de_v4.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.0 KiB |
@ -75,7 +75,7 @@ class HighscoresController extends MSController //TODO-MS Test online if it all
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->actionListEntries(intval(mysql_real_escape_string($_GET["gameid"])));
|
||||
$this->actionListEntries(intval(htmlspecialchars($_GET["gameid"])));
|
||||
return;
|
||||
}
|
||||
}
|
||||
@ -91,7 +91,7 @@ class HighscoresController extends MSController //TODO-MS Test online if it all
|
||||
}
|
||||
else
|
||||
{
|
||||
$start = intval(mysql_real_escape_string($_GET["start"])) - 1;
|
||||
$start = intval(htmlspecialchars($_GET["start"])) - 1;
|
||||
if ($start < 0)
|
||||
{
|
||||
$start = 0;
|
||||
@ -100,7 +100,7 @@ class HighscoresController extends MSController //TODO-MS Test online if it all
|
||||
|
||||
if (isset($_GET["highlight"]))
|
||||
{
|
||||
$highlight= intval(mysql_real_escape_string($_GET["highlight"]));
|
||||
$highlight= intval(htmlspecialchars($_GET["highlight"]));
|
||||
}
|
||||
else
|
||||
$highlight = 0;
|
||||
|
@ -9,4 +9,5 @@ require_once($yiic);
|
||||
// TODO-MS SharkSim (OLD DATE !) -> MS.de
|
||||
// TODO-MS BefunGen -> MS.de
|
||||
// TODO-MS jClipCorn -> MS.de
|
||||
// TODO-MS jQCCounter (OLD DATE !) -> MS.de
|
||||
// TODO-MS jQCCounter (OLD DATE !) -> MS.de
|
||||
// TODO-MS ExtendedGitGraph -> MS.de
|
Loading…
Reference in New Issue
Block a user