• ResolvedPlugin Author Franky

    (@liedekef)


    I seem to have re-introduced an old bug while rewriting the calendar code. It’s a simple fix.
    Go into eme_calendar.php and change lines 259-261 from

    if ($isPreviousMonth) $calstring="$iPrevYear-$iPrevMonth-$iCalendarDay";
                       elseif ($isNextMonth) $calstring="$iNextYear-$iNextMonth-$iCalendarDay";
                       else $calstring="$iSelectedYear-$iSelectedMonth-$iCalendarDay";

    to:

    $iCalendarDay_padded = sprintf("%02d",$iCalendarDay);
                       if ($isPreviousMonth) $calstring="$iPrevYear-$iPrevMonth-$iCalendarDay_padded";
                       elseif ($isNextMonth) $calstring="$iNextYear-$iNextMonth-$iCalendarDay_padded";
                       else $calstring="$iSelectedYear-$iSelectedMonth-$iCalendarDay_padded";

    I’ll release 1.3.1 to fix this problem this evening.

    https://www.ads-software.com/plugins/events-made-easy/

  • The topic ‘Small calendar bug in 1.3.0’ is closed to new replies.