fix var name
This commit is contained in:
parent
93b2ada6f6
commit
f78594c0ae
|
@ -164,8 +164,8 @@ class Storage {
|
||||||
|
|
||||||
// if the file already exists than it was a upload of a existing file
|
// 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
|
// over the web interface -> store() is the right function we need here
|
||||||
if ($files_view->file_exists($new_path)) {
|
if ($files_view->file_exists($newpath)) {
|
||||||
return self::store($newpath);
|
return self::store($new_path);
|
||||||
}
|
}
|
||||||
|
|
||||||
$abs_newpath = $versions_view->getLocalFile($newpath);
|
$abs_newpath = $versions_view->getLocalFile($newpath);
|
||||||
|
|
Loading…
Reference in New Issue