Show
Ignore:
Timestamp:
03/18/11 21:54:35 (2 years ago)
Author:
Torben Brodt
Message:

fixes for custom gmap input

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • g-map/files/lib/data/gmap/GmapApi.class.php

    r1326 r1328  
    4444         */ 
    4545        public function getFields() { 
    46                 if(defined('GMAP_CUSTOMINPUT') && $const = GMAP_CUSTOMINPUT && !empty($const)) { 
     46                if(defined('GMAP_CUSTOMINPUT') && ($const = GMAP_CUSTOMINPUT) && !empty($const)) { 
    4747                        $tmp = explode(",", GMAP_CUSTOMINPUT); 
    4848                        $cols = array(); 
     
    8484         */ 
    8585        public function search($location) { 
    86  
    8786                if(!$this->isActive()) { 
    8887                        return;