Code Duplication    Length = 5-5 lines in 2 locations

class/APCal.php 2 locations

@@ 4253-4257 (lines=5) @@
4250
                $start_desc = $this->get_middle_hi($start);
4251
            }
4252
4253
            if ($is_end_date && $end > $border_for_2400) {
4254
                $end_desc = $this->get_middle_hi($end, true);
4255
            } else {
4256
                $end_desc = $this->get_middle_hi($end);
4257
            }
4258
4259
            $stuffing = $justify ? '     ' : '';
4260
@@ 4318-4322 (lines=5) @@
4315
                $start_desc = $this->get_middle_hi($start);
4316
            }
4317
4318
            if ($event->is_end_date && $event->end >= $border_for_2400) {
4319
                $end_desc = $this->get_middle_hi($end, true);
4320
            } else {
4321
                $end_desc = $this->get_middle_hi($end);
4322
            }
4323
4324
            $stuffing = $justify ? '     ' : '';
4325