~bentokitdevs/retromod/traffic

« back to all changes in this revision

Viewing changes to src/private/components/traffic/Schedule.php

  • Committer: ken
  • Date: 2012-02-16 04:33:00 UTC
  • Revision ID: svn-v4:8010c1e9-5c09-0410-80af-c3f6856d18d6:branches/traffic:2175
Added fix for a bug that forgot to pass a spot to the next page when using the navigation buttons where the spot was the first on the page.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2410
2410
                        foreach ($selected_spots as $spot => $audioLetter) {
2411
2411
                                $spottime = new DateTime($spot);
2412
2412
                                if ($spottime->format('U') < $display_start_day->format('U')
2413
 
                                        || $spottime->format('U') > $display_end_day->format('U')
 
2413
                                        || $spottime->format('U') >= $display_end_day->format('U')
2414
2414
                                        || $spottime->format('U') <= strtotime('now')) {
2415
2415
                                        $grid->appendChild($input = $doc->createElement('input'));
2416
2416
                                        $input->setAttribute('type', 'hidden');