[Tilesathome] Bug in tile2.php DeleteRealTile?
Francisco R. Santos
frsantos at gmail.com
Wed Jun 6 11:55:44 BST 2007
On 6/6/07, Martijn van Oosterhout <kleptog at gmail.com> wrote:
>
> On 6/6/07, Francisco R. Santos <frsantos at gmail.com> wrote:
> > 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
>
> Wow, that explains a lot. Please fix!
Fixed.
Should I notify anyone of the change to be deployed?
Have a nice day,
> --
> Martijn van Oosterhout <kleptog at gmail.com> http://svana.org/kleptog/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tilesathome/attachments/20070606/be9fa857/attachment.html>
More information about the Tilesathome
mailing list