Skip to content

Commit

Permalink
DOC Update readme example
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed Nov 20, 2023
1 parent 25671da commit 946d92a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ $field = StringTagField::create(
'Tags',
'Tags',
['one', 'two'],
explode(',', $this->Tags)
explode(',', $this->Tags ?: '')
);

$field->setShouldLazyLoad(true); // tags should be lazy loaded
Expand Down

0 comments on commit 946d92a

Please sign in to comment.