Code Duplication    Length = 3-3 lines in 2 locations

application/modules/callbacks/admin.php 2 locations

@@ 76-78 (lines=3) @@
73
            $model = $model->filterByStatusId((int) $this->input->get('StatusId'));
74
        }
75
76
        if ($this->input->get('created_from')) {
77
            $model = $model->where('FROM_UNIXTIME(SCallbacks.Date, \'%Y-%m-%d\') >= ?', date('Y-m-d', strtotime($this->input->get('created_from'))));
78
        }
79
80
        if ($this->input->get('created_to')) {
81
            $model = $model->where('FROM_UNIXTIME(SCallbacks.Date, \'%Y-%m-%d\') <= ?', date('Y-m-d', strtotime($this->input->get('created_to'))));
@@ 80-82 (lines=3) @@
77
            $model = $model->where('FROM_UNIXTIME(SCallbacks.Date, \'%Y-%m-%d\') >= ?', date('Y-m-d', strtotime($this->input->get('created_from'))));
78
        }
79
80
        if ($this->input->get('created_to')) {
81
            $model = $model->where('FROM_UNIXTIME(SCallbacks.Date, \'%Y-%m-%d\') <= ?', date('Y-m-d', strtotime($this->input->get('created_to'))));
82
        }
83
84
        $model->orderById(Criteria::DESC);
85