mirror of
https://github.com/silverstripe/silverstripe-translatable
synced 2024-10-22 11:05:59 +02:00
fixes if code style
This commit is contained in:
parent
57ee785274
commit
c450f5a322
@ -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';
|
||||
|
Loading…
Reference in New Issue
Block a user