From c450f5a3220fbd2a6d4697a45b16eba8158fe63c Mon Sep 17 00:00:00 2001 From: Dirk Adler Date: Thu, 9 Oct 2014 22:11:08 +0200 Subject: [PATCH] fixes if code style --- code/model/Translatable.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/model/Translatable.php b/code/model/Translatable.php index 78fef2c..ddcb11d 100755 --- a/code/model/Translatable.php +++ b/code/model/Translatable.php @@ -1800,7 +1800,7 @@ class Translatable extends DataExtension implements PermissionProvider { $parentFilter = null; if (Config::inst()->get('SiteTree', 'nested_urls')) { - if ($this->owner->ParentID) { + if($this->owner->ParentID) { $parentFilter = " AND \"SiteTree\".\"ParentID\" = {$this->owner->ParentID}"; } else { $parentFilter = ' AND "SiteTree"."ParentID" = 0';