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
|
else
|
||||||
{
|
{
|
||||||
$this->actionListEntries(intval(mysql_real_escape_string($_GET["gameid"])));
|
$this->actionListEntries(intval(htmlspecialchars($_GET["gameid"])));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -91,7 +91,7 @@ class HighscoresController extends MSController //TODO-MS Test online if it all
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$start = intval(mysql_real_escape_string($_GET["start"])) - 1;
|
$start = intval(htmlspecialchars($_GET["start"])) - 1;
|
||||||
if ($start < 0)
|
if ($start < 0)
|
||||||
{
|
{
|
||||||
$start = 0;
|
$start = 0;
|
||||||
@ -100,7 +100,7 @@ class HighscoresController extends MSController //TODO-MS Test online if it all
|
|||||||
|
|
||||||
if (isset($_GET["highlight"]))
|
if (isset($_GET["highlight"]))
|
||||||
{
|
{
|
||||||
$highlight= intval(mysql_real_escape_string($_GET["highlight"]));
|
$highlight= intval(htmlspecialchars($_GET["highlight"]));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
$highlight = 0;
|
$highlight = 0;
|
||||||
|
@ -9,4 +9,5 @@ require_once($yiic);
|
|||||||
// TODO-MS SharkSim (OLD DATE !) -> MS.de
|
// TODO-MS SharkSim (OLD DATE !) -> MS.de
|
||||||
// TODO-MS BefunGen -> MS.de
|
// TODO-MS BefunGen -> MS.de
|
||||||
// TODO-MS jClipCorn -> 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