[Tilesathome] Bug in tile2.php DeleteRealTile?
Francisco R. Santos
frsantos at gmail.com
Wed Jun 6 11:25:50 BST 2007
browsing the source code of tile2.php, I encountered the following code
$SQL = sprintf( "DELETE FROM `tiles_meta` WHERE `x`=%d AND `y`=%d AND `z`=%d
AND `type`=%d;", $X,$Y,$X,$LayerID);
I may be wrong, as I don't know the code, but I think the parameters to the
query should be $X, $Y, $Z, $LayerID, that is, replace the second $X by a $Z
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Tilesathome