Skip to content

Commit

Permalink
fix for undefined variable
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronpk committed Mar 12, 2018
1 parent ec95de7 commit acd29b8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Mf2/Parser.php
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,8 @@ function normalizeTimezoneOffset(&$dtValue) {
return null;
}

$timezoneOffset = null;

if ( $matches[0] != 'Z' ) {
$timezoneString = str_replace(':', '', $matches[0]);
$plus_minus = substr($timezoneString, 0, 1);
Expand Down

0 comments on commit acd29b8

Please sign in to comment.