Completed
Branch master (eabbbe)
by Gordon
03:50
created
code/SiteMap.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -31,11 +31,11 @@
 block discarded – undo
31 31
  
32 32
  private function makeList($pages) {
33 33
   $output = "";
34
-  if(count($pages)) {
34
+  if (count($pages)) {
35 35
     $output = '
36 36
     <ul class="sitemap-list">';
37
-   foreach($pages as $page) {
38
-    if(!($page instanceof ErrorPage) && $page->ShowInMenus && $page->Title != $this->Title){
37
+   foreach ($pages as $page) {
38
+    if (!($page instanceof ErrorPage) && $page->ShowInMenus && $page->Title != $this->Title) {
39 39
      $output .= '
40 40
       <li><a href="'.$page->URLSegment.'" title="Go to the '.Convert::raw2xml($page->Title).' page">'.Convert::raw2xml($page->MenuTitle).'</a>';
41 41
      $whereStatement = "ParentID = ".$page->ID;
Please login to merge, or discard this patch.