Skip to content

Commit

Permalink
Merge pull request #511 from UniSharp/analysis-XlQpBw
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
streamtw authored Jan 8, 2018
2 parents 3925082 + 732eed3 commit 87d0c9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controllers/RenameController.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public function getRename()

if (config('lfm.alphanumeric_directory') && preg_match('/[^\w-]/i', $new_name)) {
return parent::error('folder-alnum');
// return parent::error('file-alnum');
// return parent::error('file-alnum');
} elseif ($this->lfm->setName($new_name)->exists()) {
return parent::error('rename');
}
Expand Down

0 comments on commit 87d0c9e

Please sign in to comment.