[Tilesathome] Bug in tile2.php DeleteRealTile?
Francisco R. Santos
frsantos at gmail.com
Wed Jun 6 11:25:50 BST 2007
Hi all
browsing the source code of tile2.php, I encountered the following code
(lines 220-222):
$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
Regards,
Quico
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tilesathome/attachments/20070606/a5489a14/attachment.html>
More information about the Tilesathome
mailing list