From cb53cd7024a77468b0e63a1e99c567a1e02868cc Mon Sep 17 00:00:00 2001 From: Simon Erkelens Date: Sun, 8 Oct 2017 12:58:10 +1300 Subject: [PATCH] Update beta for 3 --- Changelog.md | 3 +++ src/Generators/OrmTagGenerator.php | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Changelog.md b/Changelog.md index fae09ba..a4aedab 100644 --- a/Changelog.md +++ b/Changelog.md @@ -30,3 +30,6 @@ # 2.0.5 * Support dot notations in relations + +# 3.0 beta-1 +* Support for SilverStripe 4 diff --git a/src/Generators/OrmTagGenerator.php b/src/Generators/OrmTagGenerator.php index dd902a7..85f629f 100644 --- a/src/Generators/OrmTagGenerator.php +++ b/src/Generators/OrmTagGenerator.php @@ -111,7 +111,7 @@ protected function generateBelongsToTags() */ protected function resolveDotNotation($dataObjectName) { - list($dataObjectName) = explode(".", $dataObjectName, 2); + list($dataObjectName) = explode('.', $dataObjectName, 2); return $dataObjectName; }