phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] weather/inc links.inc.php,1.3


From: powerstat
Subject: [Phpgroupware-cvs] weather/inc links.inc.php,1.3
Date: Wed, 4 May 2005 15:57:00 +0200

Update of weather/inc

Modified Files:
     Branch: MAIN
            links.inc.php lines: +3 -3

Log Message:
Fixes deprecated (since 2003) call by reference functions calls. All function 
declarations were already correct.

====================================================
Index: weather/inc/links.inc.php
diff -u weather/inc/links.inc.php:1.2 weather/inc/links.inc.php:1.3
--- weather/inc/links.inc.php:1.2       Mon Dec  3 18:01:50 2001
+++ weather/inc/links.inc.php   Wed May  4 13:57:59 2005
@@ -153,7 +153,7 @@
                                                weather_resolve_filename($city, 
$state, $statecode,
                                                        $country, $countrycode,
                                                        $gstation, &$filename);
-                                               weather_snarf_image(&$filename);
+                                               weather_snarf_image($filename);
                                                break;
                                        case WEATHER_GENERATED:
                                                $filename  = 'images/' . 
weather_graphic($gdtype, $gdlib_enabled,
@@ -170,7 +170,7 @@
                                * generate the comment
                                
*********************************************************************/
                                $comment = lang($links_comment);
-                               weather_resolve_comment(&$comment,
+                               weather_resolve_comment($comment,
                                $city, $state, $country, $gstation);

                                
/**********************************************************************






reply via email to

[Prev in Thread] Current Thread [Next in Thread]