Changeset 1326 for g-map/files/lib/data/gmap/GmapApi.class.php
- Timestamp:
- 03/18/11 21:34:09 (2 years ago)
- Files:
-
- 1 modified
-
g-map/files/lib/data/gmap/GmapApi.class.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
g-map/files/lib/data/gmap/GmapApi.class.php
r1309 r1326 40 40 } 41 41 42 /** 43 * @var array<string> 44 */ 42 45 public function getFields() { 43 46 if(defined('GMAP_CUSTOMINPUT') && $const = GMAP_CUSTOMINPUT && !empty($const)) { 44 $cols = explode(",", GMAP_CUSTOMINPUT); 47 $tmp = explode(",", GMAP_CUSTOMINPUT); 48 $cols = array(); 49 foreach($tmp as $field) { 50 $col = User::getUserOptionID($field); 51 if($col) { 52 $cols[] = $field; 53 } 54 } 45 55 } else { 46 56 $cols = array('location'); … … 49 59 } 50 60 61 /** 62 * @var string 63 */ 51 64 public function getColumn() { 52 65 $cols = array();
