Prevent parse errors

This commit is contained in:
Brian Miyaji
2018-05-01 15:53:53 +10:00
parent dc005bb675
commit cc792220db
2 changed files with 2 additions and 2 deletions

View File

@@ -705,7 +705,7 @@ class SP_Event extends SP_Custom_Post{
}
public function sort_timeline( $a, $b ) {
return $a['time'] - $b['time'];
return (float) $a['time'] - (float) $b['time'];
}
/**