mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
* Filemanager/WebDAV: rename of a file or directory removed other files with names only differing in case eg. "test" and "Test"
This commit is contained in:
parent
3a6544afff
commit
02de20bddb
@ -657,7 +657,8 @@ class StreamWrapper implements Vfs\StreamWrapperIface
|
||||
unset(self::$stat_cache[$path_from]);
|
||||
unset(self::$stat_cache[$path_to]);
|
||||
|
||||
$stmt = self::$pdo->prepare('UPDATE '.self::TABLE.' SET fs_dir=:fs_dir,fs_name=:fs_name WHERE fs_dir=:old_dir AND fs_name=:old_name');
|
||||
$stmt = self::$pdo->prepare('UPDATE '.self::TABLE.' SET fs_dir=:fs_dir,fs_name=:fs_name'.
|
||||
' WHERE fs_dir=:old_dir AND fs_name'.self::$case_sensitive_equal.':old_name');
|
||||
$ok = $stmt->execute(array(
|
||||
'fs_dir' => $to_dir_stat['ino'],
|
||||
'fs_name' => Vfs::basename($path_to),
|
||||
|
Loading…
Reference in New Issue
Block a user