Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

GoogleMapAPI 2.5 comment error

 
Post new topic   Reply to topic    Smarty Forum Index -> Add-ons
View previous topic :: View next topic  
Author Message
nlstart
Smarty Rookie


Joined: 19 Oct 2007
Posts: 8

PostPosted: Tue Oct 30, 2007 8:00 am    Post subject: GoogleMapAPI 2.5 comment error Reply with quote

In line 145 until 150 it says:
Code:
    /**
     * default map type (G_NORMAL_MAP/G_SATELLITE_MAP/G_HYBRID_MAP)
     *
     * @var boolean
     */
    var $map_type = 'G_NORMAL_MAP';


However, the variable is not a Boolean, it is a string! So line 148 should be
Code:
     * @var string


Since it is a comment, it doesn't effect the real executed code. I found it interesting enough to post it, so you can update it in the future version.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> Add-ons All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP