diff options
author | Chad Little <clittle@users.sourceforge.net> | 2002-10-22 17:12:23 +0000 |
---|---|---|
committer | Chad Little <clittle@users.sourceforge.net> | 2002-10-22 17:12:23 +0000 |
commit | 32bb2d7d5448554286200cf5d066af0e57221ad1 (patch) | |
tree | aad077d0417f05184448ba6e31c1d01f92c5268b /functions/ical_parser.php | |
parent | 959d6c2920e1e91bbb4db184903cedca5a4d6a0e (diff) | |
download | phpicalendar-32bb2d7d5448554286200cf5d066af0e57221ad1.tar.gz phpicalendar-32bb2d7d5448554286200cf5d066af0e57221ad1.tar.bz2 phpicalendar-32bb2d7d5448554286200cf5d066af0e57221ad1.zip |
Changed rtrim to @rtrim lines 72 and 76
Diffstat (limited to 'functions/ical_parser.php')
-rw-r--r-- | functions/ical_parser.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/functions/ical_parser.php b/functions/ical_parser.php index d695c61..13fef3e 100644 --- a/functions/ical_parser.php +++ b/functions/ical_parser.php @@ -69,11 +69,11 @@ if ($parse_file) { while (!feof($ifile)) { $line = $nextline; $nextline = fgets($ifile, 1024); - $nextline = rtrim($nextline, "\r\n"); + $nextline = @rtrim($nextline, "\r\n"); while (substr($nextline, 0, 1) == " ") { $line = $line . substr($nextline, 1); $nextline = fgets($ifile, 1024); - $nextline = rtrim($nextline, "\r\n"); + $nextline = @rtrim($nextline, "\r\n"); } $line = trim($line); if (stristr($line, 'BEGIN:VEVENT')) { |