From 946d92a7e8b5e2e1e3b9e2aeea54291d30e249e3 Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Mon, 20 Nov 2023 13:19:19 +1300 Subject: [PATCH] DOC Update readme example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 879e23a..a82a7bf 100644 --- a/README.md +++ b/README.md @@ -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