Minor code clean up
authorjervfors <jervfors@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 5 Jul 2004 07:34:00 +0000 (07:34 +0000)
committerjervfors <jervfors@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 5 Jul 2004 07:34:00 +0000 (07:34 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@7750 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/tree.php

index 1566a03ef9532815c00915446ce39a15f8cb0497..5e5c87030a1960778c81ae90749e12b62943db3e 100644 (file)
@@ -136,8 +136,9 @@ function walkTreeInPostOrderCreatingFoldersUnderTrash($index, $imap_stream, $tre
     global $trash_folder, $delimiter;
 
     $position = strrpos($topFolderName, $delimiter);
-    if ($position !== FALSE)
+    if ($position !== FALSE) {
         $position++;
+    }
     $subFolderName = substr($tree[$index]['value'], $position);
 
     if ($tree[$index]['doIHaveChildren']) {
@@ -179,4 +180,4 @@ function simpleWalkTreePre($index, $tree) {
         echo $tree[$index]['value'] . '<br>';
     }
 }
-?>
+?>
\ No newline at end of file