diff options
author | ArthurHoaro <arthur@hoa.ro> | 2019-05-25 15:52:27 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2020-01-18 09:55:59 +0100 |
commit | cf92b4dd1521241eefc58eaf6dcd202cd83969d8 (patch) | |
tree | 9d6f6f4dc9eabe111c3ba5609eea8b22cd5a23aa /application/bookmark/BookmarkArray.php | |
parent | 336a28fa4a09b968ce4705900bf57693e672f0bf (diff) | |
download | Shaarli-cf92b4dd1521241eefc58eaf6dcd202cd83969d8.tar.gz Shaarli-cf92b4dd1521241eefc58eaf6dcd202cd83969d8.tar.zst Shaarli-cf92b4dd1521241eefc58eaf6dcd202cd83969d8.zip |
Apply the new system (Bookmark + Service) to the whole code base
See https://github.com/shaarli/Shaarli/issues/1307
Diffstat (limited to 'application/bookmark/BookmarkArray.php')
-rw-r--r-- | application/bookmark/BookmarkArray.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/application/bookmark/BookmarkArray.php b/application/bookmark/BookmarkArray.php index b427c91a..d87d43b4 100644 --- a/application/bookmark/BookmarkArray.php +++ b/application/bookmark/BookmarkArray.php | |||
@@ -118,7 +118,7 @@ class BookmarkArray implements \Iterator, \Countable, \ArrayAccess | |||
118 | $realOffset = $this->getBookmarkOffset($offset); | 118 | $realOffset = $this->getBookmarkOffset($offset); |
119 | $url = $this->bookmarks[$realOffset]->getUrl(); | 119 | $url = $this->bookmarks[$realOffset]->getUrl(); |
120 | unset($this->urls[$url]); | 120 | unset($this->urls[$url]); |
121 | unset($this->ids[$realOffset]); | 121 | unset($this->ids[$offset]); |
122 | unset($this->bookmarks[$realOffset]); | 122 | unset($this->bookmarks[$realOffset]); |
123 | } | 123 | } |
124 | 124 | ||