summaryrefslogtreecommitdiffstats
path: root/apps/files_versions/lib/versions.php
diff options
context:
space:
mode:
authorBjörn Schießle <schiessle@owncloud.com>2013-03-14 17:08:16 +0100
committerBjörn Schießle <schiessle@owncloud.com>2013-03-14 17:08:16 +0100
commit93b2ada6f6b54dc9b3c341c379e524f51a75b8f4 (patch)
treea11ed5002f87a50b3821367e4f8bc6381ee6dbc7 /apps/files_versions/lib/versions.php
parent0cf50d63bfcbe359d850a7ce0228555a3766b31a (diff)
downloadnextcloud-server-93b2ada6f6b54dc9b3c341c379e524f51a75b8f4.tar.gz
nextcloud-server-93b2ada6f6b54dc9b3c341c379e524f51a75b8f4.zip
fix var name
Diffstat (limited to 'apps/files_versions/lib/versions.php')
-rw-r--r--apps/files_versions/lib/versions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_versions/lib/versions.php b/apps/files_versions/lib/versions.php
index 8874fec6bd2..6d47b3038c6 100644
--- a/apps/files_versions/lib/versions.php
+++ b/apps/files_versions/lib/versions.php
@@ -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);
}