From: <ji...@us...> - 2007-10-12 06:43:13
|
Update of /cvsroot/phpicalendar/phpicalendar/functions In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9238/phpicalendar/functions Modified Files: ical_parser.php Log Message: deal with various unset variable warning situations Index: ical_parser.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/functions/ical_parser.php,v retrieving revision 1.219 retrieving revision 1.220 diff -C2 -d -r1.219 -r1.220 *** ical_parser.php 11 Oct 2007 23:50:37 -0000 1.219 --- ical_parser.php 12 Oct 2007 06:43:13 -0000 1.220 *************** *** 135,139 **** $nextline = ereg_replace("[\r\n]", "", $nextline); #handle continuation lines that start with either a space or a tab (MS Outlook) ! while ($nextline{0} == " " || $nextline{0} == "\t") { $line = $line . substr($nextline, 1); $nextline = fgets($ifile, 1024); --- 135,139 ---- $nextline = ereg_replace("[\r\n]", "", $nextline); #handle continuation lines that start with either a space or a tab (MS Outlook) ! while (isset($nextline{0}) && ($nextline{0} == " " || $nextline{0} == "\t")) { $line = $line . substr($nextline, 1); $nextline = fgets($ifile, 1024); |