Skip to content

Commit 2ca3d9a

Browse files
committed
Fix non-static call
1 parent d3af52b commit 2ca3d9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/WebApp/Component/DateRangeInput.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public static function getPostValue($name, $timezoneId) {
5656
return self::fromString($range);
5757
}
5858

59-
public function fromString($range) {
59+
public static function fromString($range) {
6060
if ($range != NULL) {
6161
list($fromS, $untilS) = explode(' - ', $range, 2);
6262
$from = Date::createFromFormat(I18N::_('daterange_internal_format').' H:i:s', $fromS.' 00:00:00', $timezoneId);

0 commit comments

Comments
 (0)