]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix var name
authorBjörn Schießle <schiessle@owncloud.com>
Thu, 14 Mar 2013 16:08:16 +0000 (17:08 +0100)
committerBjörn Schießle <schiessle@owncloud.com>
Thu, 14 Mar 2013 16:08:16 +0000 (17:08 +0100)
apps/files_versions/lib/versions.php

index 8874fec6bd2f214534aca16da4e5dcef50904061..6d47b3038c647ca6d821fb004d4bb62fcc3d144e 100644 (file)
@@ -164,7 +164,7 @@ class Storage {
                
                // if the file already exists than it was a upload of a existing file
                // over the web interface -> store() is the right function we need here
-               if ($files_view->file_exists($newpath)) {
+               if ($files_view->file_exists($new_path)) {
                        return self::store($newpath);
                }