Skip to content
This repository
Browse code

Tabbed out if

  • Loading branch information...
commit 5d5b5ed07cc91a7a7cde62ac013befdef52b4404 1 parent afecc6b
Wolf Vollprecht authored December 22, 2011

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  code/controllers/CMSMain.php
4  code/controllers/CMSMain.php
@@ -252,8 +252,8 @@ public function SiteTreeHints() {
252 252
 			
253 253
 			$defaultParent = $obj->defaultParent();
254 254
 			if(SiteTree::get_by_link($defaultParent)) {
255  
-			$id = $defaultParent ? SiteTree::get_by_link($defaultParent)->ID : null;
256  
-			$defaultParent = $id ? SiteTree::get_by_link($obj->defaultParent())->ID : null;
  255
+				$id = $defaultParent ? SiteTree::get_by_link($defaultParent)->ID : null;
  256
+				$defaultParent = $id ? SiteTree::get_by_link($obj->defaultParent())->ID : null;
257 257
 			}
258 258
 			if ($defaultParent != 1 && $defaultParent != null)  $def[$class]['defaultParent'] = $defaultParent;
259 259
 			

0 notes on commit 5d5b5ed

Please sign in to comment.
Something went wrong with that request. Please try again.