Update of /cvsroot/phpweather/phpweather/output
In directory usw-pr-cvs1:/tmp/cvs-serv29796
Modified Files:
pw_text.php
Log Message:
Same effect, but easier to understand, IMHO.
Index: pw_text.php
===================================================================
RCS file: /cvsroot/phpweather/phpweather/output/pw_text.php,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -3 -r1.13 -r1.14
--- pw_text.php 16 May 2002 19:46:19 -0000 1.13
+++ pw_text.php 26 Aug 2002 23:09:25 -0000 1.14
@@ -1161,7 +1161,7 @@
* @param array Data taken from decode_metar()
* @access public
*/
- function get_metar_value($index,$index2='',$index3='') {
+ function get_metar_value($index,$index2 = false, $index3 = false) {
// We use our own weather-object.
$data = $this->weather->decode_metar();
if ($index3){
|