Passed
Pull Request — master (#4596)
by
unknown
06:17
created
sources/folders.class.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -73,8 +73,8 @@
 block discarded – undo
73 73
         }
74 74
 
75 75
         if (!$this->isParentFolderAllowed($parent_id, $user_accessible_folders, $user_is_admin)) {
76
-           if ($parent_id != 0 && $user_can_create_root_folder == false )
77
-               return $this->errorResponse($this->lang->get('error_folder_not_allowed_for_this_user'));
76
+            if ($parent_id != 0 && $user_can_create_root_folder == false )
77
+                return $this->errorResponse($this->lang->get('error_folder_not_allowed_for_this_user'));
78 78
         }
79 79
 
80 80
         if (!$this->checkDuplicateFolderAllowed($title) && $personal_folder == 0) {
Please login to merge, or discard this patch.
api/Model/ItemModel.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -342,8 +342,8 @@
 block discarded – undo
342 342
         );
343 343
 
344 344
         if (DB::count() > 0 && (
345
-	     (isset($SETTINGS['duplicate_item']) && (int) $SETTINGS['duplicate_item'] === 0)
346
-	     && (int) $itemInfos['personal_folder'] === 0)
345
+            (isset($SETTINGS['duplicate_item']) && (int) $SETTINGS['duplicate_item'] === 0)
346
+         && (int) $itemInfos['personal_folder'] === 0)
347 347
         ) {
348 348
             throw new Exception('Similar item already exists. Duplicates are not allowed.');
349 349
         }
Please login to merge, or discard this patch.