Skip to content

Commit

Permalink
[VD:abstract] fix Studio-42#1575 can not rename "0" to "00", "000"...
Browse files Browse the repository at this point in the history
  • Loading branch information
nao-pon committed Aug 5, 2016
1 parent 1cb4064 commit 63108e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion php/elFinderVolumeDriver.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -1853,7 +1853,7 @@ public function rename($hash, $name) {
return $this->setError(elFinder::ERROR_FILE_NOT_FOUND);
}

if ($name == $file['name']) {
if ($name === $file['name']) {
return $file;
}

Expand Down

0 comments on commit 63108e6

Please sign in to comment.