Changeset 20461 for extensions/rv_gmaps/trunk/kml.php
- Timestamp:
- Jan 29, 2013, 10:21:43 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/rv_gmaps/trunk/kml.php
r17513 r20461 82 82 $categories = array(); 83 83 $thumbnail_ids=array(); 84 while ($row = mysql_fetch_assoc($result))84 while ($row = pwg_db_fetch_assoc($result)) 85 85 { 86 array_push($categories, $row);86 $categories[] = $row; 87 87 if (isset($row['representative_picture_id']) and is_numeric($row['representative_picture_id'])) 88 array_push($thumbnail_ids, $row['representative_picture_id'] );88 $thumbnail_ids[] = $row['representative_picture_id']; 89 89 } 90 90 $thumbnail_src_of = array(); … … 96 96 WHERE id IN ('.implode(',', $thumbnail_ids).')'; 97 97 $result = pwg_query($query); 98 while ($row = mysql_fetch_assoc($result))98 while ($row = pwg_db_fetch_assoc($result)) 99 99 $thumbnail_src_of[$row['id']] = DerivativeImage::thumb_url($row); 100 100 unset($thumbnail_ids);
Note: See TracChangeset
for help on using the changeset viewer.