There is a typo in the Ical.php Class file

Issue #5 resolved
Former user created an issue

There is a typo in the Ical.php class file which is causing the package to fail.

       $iCal .= 'LOCATION:' . $this->escapeString($this->getAddress()) . "\r\n";
        $iCal .= 'DESCRIPTION:' . $this->escapeString($this->getDescription()) . "\r\n";
       357---> $ical .= 'SEQUENCE:' . $this->getSequence() . "\r\n";
        if ($this->getAlarm()) {
            $iCal .= 'BEGIN:VALARM' . "\r\n";

The variable $ical in line 357 of the latest commit should be written as $iCal not $ical ($iCal != $ical). Apparently php is case sensitive. :)

Comments (4)

  1. Log in to comment