Changeset 7086
- Timestamp:
- 11/26/08 01:59:51 (6 weeks ago)
- Location:
- trunk/plugins/GoogleMap
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/plugins/GoogleMap/index.php
r7085 r7086 167 167 $lat = $response_csv[2]; 168 168 $lng = $response_csv[3]; 169 POD::execute("INSERT INTO {$database['prefix']}GMapLocations VALUES (".getBlogId().", '".POD::escapeString($locative['location'])."', $lng, $lat, NOW())");169 POD::execute("INSERT INTO {$database['prefix']}GMapLocations VALUES (".getBlogId().", '".POD::escapeString($locative['location'])."', $lng, $lat, ".time().")"); 170 170 $result = 0; 171 171 break; … … 183 183 if ($result == 9) { 184 184 // Not found. Don't try also later. 185 POD::execute("INSERT INTO {$database['prefix']}GMapLocations VALUES (".getBlogId().", '".POD::escapeString($locative['location'])."', NULL, NULL, NOW())");185 POD::execute("INSERT INTO {$database['prefix']}GMapLocations VALUES (".getBlogId().", '".POD::escapeString($locative['location'])."', NULL, NULL, ".time().")"); 186 186 } 187 187 } else { -
trunk/plugins/GoogleMap/index.xml
r7082 r7086 71 71 <field><name>longitude</name><attribute>double</attribute><isnull>1</isnull></field> 72 72 <field><name>latitude</name><attribute>double</attribute><isnull>1</isnull></field> 73 <field><name>updated</name><attribute> timestamp</attribute><isnull>0</isnull><default>0</default></field>73 <field><name>updated</name><attribute>int</attribute><length>11</length><isnull>0</isnull><default>0</default></field> 74 74 </fields> 75 75 <key>address</key>
