diff options
author | m-svo <linuxgaming@protonmail.com> | 2019-05-04 10:08:38 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-04 10:08:38 +0300 |
commit | d7e22b71cc48c261455a3ebfbaf13cb5ebd4ba77 (patch) | |
tree | 1d191fb064ee0ea337b561bbbc9c53771e4d5594 | |
parent | 59e496950618821fcc9523e09d2c6ca356ff43f9 (diff) |
fix typo
-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 79b3b30..6fbe672 100755 --- a/lib/Controller/NoteController.php +++ b/lib/Controller/NoteController.php @@ -114,7 +114,7 @@ $recents['data'] = array(); foreach($recents['data'] as $item){ $path = $item['path']; - if(array_key_exists('newpath', $îtem) && $item['newpath'] != null){ + 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); @@ -985,4 +985,4 @@ } -?>
\ No newline at end of file +?> |