Changeset 25359 for extensions/edit_gmaps/edit_gmaps.inc.php
- Timestamp:
- Nov 6, 2013, 6:56:14 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/edit_gmaps/edit_gmaps.inc.php
r24288 r25359 44 44 $columns_of = array(); 45 45 $query = 'DESC '.$table.';'; 46 $result = pwg_db_fetch_assoc($query); 46 47 47 $columns_of[$table] = array(); 48 48 $result=pwg_query($query); 49 49 if ($result) 50 while ($row = pwg_db_fetch_row($result)) 50 while ($row = pwg_db_fetch_row($result)){ 51 51 array_push($columns_of[$table], $row[0]); 52 52 } 53 53 return $columns_of; 54 54 } … … 288 288 global $EDIT_CL_parametres; 289 289 //============================================================================= 290 290 291 $my_para=$EDIT_CL_parametres; 292 if (empty($my_para)) $my_para= (object) ''; 291 293 $lon= isset($my_para->lon)? $my_para->lon:'' ; 292 294 $lat= isset($my_para->lat)? $my_para->lat:'' ;
Note: See TracChangeset
for help on using the changeset viewer.