diff --git a/README.md b/README.md index 7b49422..8c01f4a 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ class BlogPost extends DataObject { ```php $field = StringTagField::create( - 'Tags', 'Tags', array('one', 'two'), explode(',', this->Tags) + 'Tags', 'Tags', array('one', 'two'), explode(',', $this->Tags) ); $field->setShouldLazyLoad(true); // tags should be lazy loaded