#243 Warning: non-array passed to foreach, ical_parser.php

closed
5
2003-09-23
2003-09-23
Alex King
No

I'm getting that as a warning message, on line 526.

I added this around the foreach loop:
if (is_array($byyearday)) { // added by
alexking.org
foreach ($byyearday as $yearday) {
...

Cheers,
--Alex

Discussion

  • Chad Little

    Chad Little - 2003-09-23
    • status: open --> closed
     
  • Chad Little

    Chad Little - 2003-09-23
    • assigned_to: jwangen --> clittle
     
  • Chad Little

    Chad Little - 2003-09-23

    Logged In: YES
    user_id=585637

    Was already submitted and in cvs.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks