[Phphtmllib-devel] SF.net SVN: phphtmllib:[3225] trunk/open2300/lib/modules/home/widgets/ CurrentCo
Status: Beta
Brought to you by:
hemna
From: <he...@us...> - 2009-02-22 18:41:10
|
Revision: 3225 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3225&view=rev Author: hemna Date: 2009-02-22 18:41:06 +0000 (Sun, 22 Feb 2009) Log Message: ----------- math 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-02-22 18:39:16 UTC (rev 3224) +++ trunk/open2300/lib/modules/home/widgets/CurrentConditions.inc 2009-02-22 18:41:06 UTC (rev 3225) @@ -50,7 +50,7 @@ array(":date" => $year.'%')); $year_rain_start = $stmt->rain_total; - $this->rain_total = sprintf("%0.2f", $year_rain_start - $this->wx->get_rain_total()); + $this->rain_total = sprintf("%0.2f", $this->wx->get_rain_total() - $year_rain_start); } public function get_content() { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |