CVS: phpweather index.php,1.42,1.43
Brought to you by:
iridium
From: Martin G. <gim...@us...> - 2004-06-17 12:31:34
|
Update of /cvsroot/phpweather/phpweather In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26722 Modified Files: index.php Log Message: Remove any extra spaces in those two variables. Index: index.php =================================================================== RCS file: /cvsroot/phpweather/phpweather/index.php,v retrieving revision 1.42 retrieving revision 1.43 diff -u -3 -r1.42 -r1.43 --- index.php 3 Jan 2004 18:38:07 -0000 1.42 +++ index.php 17 Jun 2004 12:31:25 -0000 1.43 @@ -42,13 +42,13 @@ if (empty($HTTP_GET_VARS['cc'])) { $cc = ''; } else { - $cc = stripslashes($HTTP_GET_VARS['cc']); + $cc = trim(stripslashes($HTTP_GET_VARS['cc'])); } if (empty($HTTP_GET_VARS['icao'])) { $icao = ''; } else { - $icao = stripslashes($HTTP_GET_VARS['icao']); + $icao = trim(stripslashes($HTTP_GET_VARS['icao'])); } $languages = get_languages('text'); |