Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Daniele

    (@lele_82)

    … another thing: when i select the option (checkbox) it doesn’t stil checked…

    Ah… this bug crept in at 1.4. I shall fix this in the upcoming bug-squashing release 1.4.2.

    If you want to fix it yourself immediately, change lines 94 & 95 of /classes/class-eo-event-list-widget.php which read:

    $validated['showpastevents'] = ( !empty($validated['showpastevents']) ? 1:  0);
    $validated['group_events_by'] = ( isset($validated['group_events_by']) && $validated['group_events_by']=='series' ? 'series':  '');

    to

    $validated['showpastevents'] = (!empty($new_instance['showpastevents']) ? 1:  0);
    $validated['group_events_by'] = ( isset($new_instance['group_events_by']) && $new_instance['group_events_by']=='series' ? 'series':  '');
    Thread Starter Daniele

    (@lele_82)

    Perfect!! Thanks.

    No problem. This has now been fixed in 1.4.2.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Event Organiser] Showing Past events in the widget list’ is closed to new replies.