diff options
author | git <BlueRaja.admin@gmail.com> | 2013-02-21 02:51:17 -0600 |
---|---|---|
committer | git <BlueRaja.admin@gmail.com> | 2013-02-21 02:51:17 -0600 |
commit | f394ba40a189669beafe824f80497401e01c2315 (patch) | |
tree | 442473bfd1be510083805cb0c13b2b7a2a1cc6df | |
parent | 35dfdc948211d422d52b98a93407c56ac5a67448 (diff) | |
download | pathery-f394ba40a189669beafe824f80497401e01c2315.tar.xz |
Fixing a quick injection
-rw-r--r-- | do.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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;
|