Browse Source

fix wrong method name

Stepan Tanasiychuk 14 years ago
parent
commit
411997dc59
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Symfony/Component/HttpFoundation/File/UploadedFile.php

+ 1 - 1
src/Symfony/Component/HttpFoundation/File/UploadedFile.php

@@ -164,7 +164,7 @@ class UploadedFile extends File
     public function move($directory, $name = null)
     {
         if ($this->moved) {
-            return parent::doMove($directory, $name);
+            return parent::move($directory, $name);
         }
 
         $newPath = $directory.DIRECTORY_SEPARATOR.(null === $name ? $this->getName() : $name);