Update of /cvsroot/phpweather/phpweather/db
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14238/db
Modified Files:
pw_db_null.php
Log Message:
The third field should be trimmed to remove the added padding.
Index: pw_db_null.php
===================================================================
RCS file: /cvsroot/phpweather/phpweather/db/pw_db_null.php,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- pw_db_null.php 30 Jan 2004 20:46:36 -0000 1.6
+++ pw_db_null.php 1 Jun 2004 20:30:53 -0000 1.7
@@ -183,7 +183,7 @@
$left = ceil(($left+$right)/2);
} else {
$left = $right;
- $result = array($data[1], $data[2], $data[3]);
+ $result = array($data[1], $data[2], rtrim($data[3]));
}
}
fclose($fp);
|