contao/core — Issue #3698: FTP->rename() shouldn't rename file if source target equals target file
Author: DyaGa
Created: 2011-12-15 18:02:10+00:00
State: open

So, next code is missing at the beginning of `rename` method of `FTP` class:

```php
public function rename($strOldName, $strNewName)
{
// Source file == target file
if ($strOldName == $strNewName)
{
return;
}
[...]
```