Skip to content

Commit

Permalink
[VD:abstract] fix #1783 Illegal duplicate data as bind in duplicate c…
Browse files Browse the repository at this point in the history
…ommand
  • Loading branch information
nao-pon committed Dec 2, 2016
1 parent 0ea88ab commit 932737f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion php/elFinderVolumeDriver.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -4180,7 +4180,9 @@ protected function copy($src, $dst, $name) {
if ($res = $this->convEncOut($this->_copy($this->convEncIn($src), $this->convEncIn($dst), $this->convEncIn($name)))) {
$path = is_string($res)? $res : $this->joinPathCE($dst, $name);
$this->clearcache();
$this->added[] = $this->stat($path);
if ($this->ARGS['cmd'] !== 'duplicate') {
$this->added[] = $this->stat($path);
}
return $path;
}

Expand Down

0 comments on commit 932737f

Please sign in to comment.