summaryrefslogtreecommitdiffstats
path: root/includes/maps.php
diff options
context:
space:
mode:
authorPatrick Davison <snapwilliam@gmail.com>2012-08-18 17:53:29 -0700
committerPatrick Davison <snapwilliam@gmail.com>2012-08-18 17:53:29 -0700
commit373c31ffc41e76165aca5ee709284045c799f0e7 (patch)
treea50a900066173a1cd2f01bfa26ab1526e6a78181 /includes/maps.php
parent4f00fc760a2d01542d70a5f3cbafea360b3766d6 (diff)
downloadpathery-373c31ffc41e76165aca5ee709284045c799f0e7.tar.xz
Syntax error
Diffstat (limited to 'includes/maps.php')
-rw-r--r--includes/maps.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/maps.php b/includes/maps.php
index 1e18804..cddd0d5 100644
--- a/includes/maps.php
+++ b/includes/maps.php
@@ -899,7 +899,7 @@ function routePath($mygrid, $start = '', $validate = false) {
// Doing this scan once is far more effecient than rescanning.
$tileLocations = findTilesM($mygrid, str_split('S'));
- if (in_array($tileLocations, "S") {
+ if (in_array("S", $tileLocations)) {
}