diff options
author | PhieF <phie@phie.ovh> | 2019-05-06 12:44:29 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-06 12:44:29 +0300 |
commit | a13603038025a4653539b7539bacbd6c4f7ea9c6 (patch) | |
tree | 1d191fb064ee0ea337b561bbbc9c53771e4d5594 | |
parent | 59e496950618821fcc9523e09d2c6ca356ff43f9 (diff) | |
parent | d7e22b71cc48c261455a3ebfbaf13cb5ebd4ba77 (diff) |
Merge pull request #52 from m-svo/m-svo-patch-1
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 +?> |