Support » Plugin: Radio Station » 12am rowspan bug

  • defunct

    (@defunctlife)


    Pretty sure there is a bug when setting shows that start at 12am.

    Example:

    Start time: 12:00 am
    End time: 12:30 am

    Expected result: Show would span a couple rows and display at 12:00 am.

    Actual result: Show’s td rowspan is 29 and and the next show spans the entire row.

    https://wordpress.org/plugins/radio-station/

Viewing 4 replies - 1 through 4 (of 4 total)
  • I am experiencing the same issue. Let me know if you find a fix for this. I have to schedule it for the full hour or it will bug out by taking the entire column.

    I did hack the pluging up a bit to fix it:

    includes/master_schedule.php

    line: 715

    if($shift['time']['start_hour'] == 0 && $shift['time']['end_hour'] == 0) { ///midnight to midnight shows
    
                                                    // this seems to be breaking shows that run at 12:00am, so commenting it out for now
                                                    // $rowspan = 24;
    
                                            }
    Plugin Author Nikki Blight

    (@kionae)

    This issue is fixed in the latest version.

    Thanks Nikki,
    This solved my issue as well. Great plugin!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘12am rowspan bug’ is closed to new replies.