Passed
Push — master ( 354cb3...72815c )
by Jens
03:33
created
src/templates/documents.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,8 @@  discard block
 block discarded – undo
20 20
           Search index is no longer in sync with documents.
21 21
           <a href="<?= $request::$subfolders ?><?= $cmsPrefix ?>/search/update-index?returnUrl=<?= urlencode($request::$subfolders . $cmsPrefix . '/documents') ?>" title="Update Index">Update Index</a>
22 22
         </div>
23
-      <?php else : ?>
23
+      <?php else {
24
+    : ?>
24 25
         <div class="message valid">
25 26
           <i class="fa fa-check"></i>
26 27
           Search index is in sync with documents.
@@ -47,6 +48,7 @@  discard block
 block discarded – undo
47 48
     </tr>
48 49
       <?php
49 50
       $parentPath = substr($path, 0, strrpos( $path, '/'));
51
+}
50 52
       if ($path !== '/' && substr_count($path, '/') === 1) {
51 53
           $parentPath = '/';
52 54
       }
Please login to merge, or discard this patch.