make _dateFor static
This commit is contained in:
parent
8a675941b8
commit
c4bb0e2bc2
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ class BMCalendar
|
|||
*
|
||||
* @return array
|
||||
*/
|
||||
public function _dateFor($row, $time, $start, $end)
|
||||
public static function _dateFor($row, $time, $start, $end)
|
||||
{
|
||||
$row['enddate'] = min($end, ($row['enddate'] - $row['startdate']) + $time);
|
||||
$row['startdate'] = max($start, $time);
|
||||
|
|
Loading…
Reference in a new issue