Skip to content

Commit

Permalink
Merge pull request #128 from phoenixrvd/master
Browse files Browse the repository at this point in the history
Fix compatibility with PHP 5.3
  • Loading branch information
mikehaertl committed Aug 15, 2018
2 parents fd51ccf + abde0dc commit b7b67d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DataFields.php
Expand Up @@ -159,7 +159,7 @@ public static function parseBlock($block)
protected static function lineContinues($lines, $n, $key)
{
return
in_array($key, ['FieldValue', 'FieldValueDefault']) &&
in_array($key, array('FieldValue', 'FieldValueDefault')) &&
array_key_exists($n + 1, $lines) &&
!preg_match('/^Field(Value|ValueDefault|Justification):/', $lines[$n + 1]);
}
Expand Down

0 comments on commit b7b67d1

Please sign in to comment.