Changeset 94
- Timestamp:
- 10/01/07 22:11:45 (5 years ago)
- File:
-
- 1 edited
-
openweather/openweather.module (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
openweather/openweather.module
r93 r94 391 391 // Check person owns or can write to entry 392 392 393 return db_query("INSERT INTO {openweather_readings} (nid, `time`, temp_ in, temp_out, rel_hum_in, rel_hum_out, windspeed, wind_angle, wind_chill, rain_1h, rel_pressure, dewpoint) VALUES (%d, '%s', %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)", $nid, $data['timestamp'], $data['temp_in'], $data['temp_out'], $data['rel_hum_in'], $data['rel_hum_out'], $data['windspeed'], $data['wind_angle'], $data['wind_chill'], $data['rain_1h'], $data['rel_pressure'], $data['dewpoint']);393 return db_query("INSERT INTO {openweather_readings} (nid, `time`, temp_out, rel_hum_out, windspeed, wind_angle, wind_chill, rain_1h, rel_pressure, dewpoint) VALUES (%d, '%s', %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)", $nid, $data['timestamp'], $data['temp'], $data['rel_hum'], $data['windspeed'], $data['wind_angle'], $data['wind_chill'], $data['rain_1h'], $data['rel_pressure'], $data['dewpoint']); 394 394 } else { 395 395 return false;
Note: See TracChangeset
for help on using the changeset viewer.
