diff options
author | Phie <phie@phie.ovh> | 2019-08-18 16:54:56 +0300 |
---|---|---|
committer | Phie <phie@phie.ovh> | 2019-08-18 16:54:56 +0300 |
commit | 70442d92a9869b13aaf282dccf31433ab66f4d1d (patch) | |
tree | 4c629635b4e8eae920f4b0918ec89253ba84203e /lib | |
parent | 91542f984bf6aaa8ff028c9b68e309b26ca7ce6c (diff) |
fix metadata of moved notes
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/Controller/NoteController.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Controller/NoteController.php b/lib/Controller/NoteController.php index 95b2b63..8ba6302 100755 --- a/lib/Controller/NoteController.php +++ b/lib/Controller/NoteController.php @@ -119,8 +119,8 @@ } foreach($recents['data'] as $item){ $path = $item['path']; - if(array_key_exists('newpath', $item) && $item['newpath'] != null){ - $path = $item['newpath']; + if(array_key_exists('newPath', $item) && $item['newPath'] != null){ + $path = $item['newPath']; if(in_array($item['path'], $paths)){ array_splice($paths, array_search($item['path'], $paths), 1); } |