Code Duplication    Length = 5-5 lines in 2 locations

class/APCal.php 2 locations

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