Skip to content

Commit acd29b8

Browse files
committed
fix for undefined variable
1 parent ec95de7 commit acd29b8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Mf2/Parser.php

+2
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,8 @@ function normalizeTimezoneOffset(&$dtValue) {
250250
return null;
251251
}
252252

253+
$timezoneOffset = null;
254+
253255
if ( $matches[0] != 'Z' ) {
254256
$timezoneString = str_replace(':', '', $matches[0]);
255257
$plus_minus = substr($timezoneString, 0, 1);

0 commit comments

Comments
 (0)