summaryrefslogtreecommitdiffstats
path: root/do.php
diff options
context:
space:
mode:
authorgit <BlueRaja.admin@gmail.com>2013-02-21 02:51:17 -0600
committergit <BlueRaja.admin@gmail.com>2013-02-21 02:51:17 -0600
commitf394ba40a189669beafe824f80497401e01c2315 (patch)
tree442473bfd1be510083805cb0c13b2b7a2a1cc6df /do.php
parent35dfdc948211d422d52b98a93407c56ac5a67448 (diff)
downloadpathery-f394ba40a189669beafe824f80497401e01c2315.tar.xz
Fixing a quick injection
Diffstat (limited to 'do.php')
-rw-r--r--do.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/do.php b/do.php
index 758ee7d..ae8ccc3 100644
--- a/do.php
+++ b/do.php
@@ -157,7 +157,7 @@ if ($_GET['r'] == 'getpath') {
// Enables the ability to discover an exact duplicate solution.
$solution = formSolution($_GET['solution']);
- $userID = $_SESSION['userID'];
+ $userID = $_SESSION['userID'] + 0;
//valid mapID?
$mapID = $_GET[mapid] + 0;