[Phphtmllib-devel] SF.net SVN: phphtmllib:[3239] trunk/open2300/lib/modules/home/widgets/ CurrentCo
Status: Beta
Brought to you by:
hemna
From: <he...@us...> - 2009-03-03 19:12:47
|
Revision: 3239 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3239&view=rev Author: hemna Date: 2009-03-03 19:12:43 +0000 (Tue, 03 Mar 2009) Log Message: ----------- missing and Modified Paths: -------------- trunk/open2300/lib/modules/home/widgets/CurrentConditions.inc Modified: trunk/open2300/lib/modules/home/widgets/CurrentConditions.inc =================================================================== --- trunk/open2300/lib/modules/home/widgets/CurrentConditions.inc 2009-03-03 19:10:54 UTC (rev 3238) +++ trunk/open2300/lib/modules/home/widgets/CurrentConditions.inc 2009-03-03 19:12:43 UTC (rev 3239) @@ -55,7 +55,7 @@ //get the peak winds $stmt = $db->queryBindOneRowCache("select datetime,wind_speed, wind_angle, wind_direction from weather where ". "wind_speed = (select max(wind_speed) from weather where datetime like :date) ". - "datetime like :date", + "and datetime like :date", array(":date" => $today.'%')); $this->peak_wind['speed'] = $stmt->wind_speed; $this->peak_wind['angle'] = $stmt->wind_angle; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |