MyShaarli/application
Ajabep 2ea2c99dcb
Fix a bug
When we try to access the atom feed and have no bookmarks, it raised the following exception :

```
Call to a member function reorder() on array /webroot/application/bookmark/BookmarkFileService.php:143
#0 /webroot/application/feed/FeedBuilder.php(106): Shaarli\Bookmark\BookmarkFileService->search(Array, 'public', false, false, true)
#1 /webroot/application/front/controller/visitor/FeedController.php(47): Shaarli\Feed\FeedBuilder->buildData('atom', Array)
#2 /webroot/application/front/controller/visitor/FeedController.php(20): Shaarli\Front\Controller\Visitor\FeedController->processRequest('atom', Object(Slim\Http\Request), Object(Slim\Http\Response))
#3 [internal function]: Shaarli\Front\Controller\Visitor\FeedController->atom(Object(Slim\Http\Request), Object(Slim\Http\Response), Array)
#4 /webroot/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(40): call_user_func(Array, Object(Slim\Http\Request), Object(Slim\Http\Response), Array)
#5 /webroot/vendor/slim/slim/Slim/Route.php(281): Slim\Handlers\Strategies\RequestResponse->__invoke(Array, Object(Slim\Http\Request), Object(Slim\Http\Response), Array)
#6 /webroot/application/front/ShaarliMiddleware.php(55): Slim\Route->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response))
#7 [internal function]: Shaarli\Front\ShaarliMiddleware->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Slim\Route))
#8 /webroot/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array(Array, Array)
#9 [internal function]: Slim\DeferredCallable->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Slim\Route))
#10 /webroot/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func(Object(Slim\DeferredCallable), Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Slim\Route))
#11 /webroot/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\Route->Slim\{closure}(Object(Slim\Http\Request), Object(Slim\Http\Response))
#12 /webroot/vendor/slim/slim/Slim/Route.php(268): Slim\Route->callMiddlewareStack(Object(Slim\Http\Request), Object(Slim\Http\Response))
#13 /webroot/vendor/slim/slim/Slim/App.php(503): Slim\Route->run(Object(Slim\Http\Request), Object(Slim\Http\Response))
#14 /webroot/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\App->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response))
#15 /webroot/vendor/slim/slim/Slim/App.php(392): Slim\App->callMiddlewareStack(Object(Slim\Http\Request), Object(Slim\Http\Response))
#16 /webroot/vendor/slim/slim/Slim/App.php(297): Slim\App->process(Object(Slim\Http\Request), Object(Slim\Http\Response))
#17 /webroot/index.php(177): Slim\App->run(true)
#18 {main}
```
2021-04-02 21:14:09 +02:00
..
api New plugin hook: ability to add custom filters to Shaarli search engine 2021-02-04 11:02:50 +01:00
bookmark Fix a bug 2021-04-02 21:14:09 +02:00
config Merge pull request #1635 from ArthurHoaro/feature/phpcs 2020-11-10 10:46:04 +01:00
container New plugin hook: ability to add custom filters to Shaarli search engine 2021-02-04 11:02:50 +01:00
exceptions Apply PHP Code Beautifier on source code for linter automatic fixes 2020-11-09 10:56:24 +01:00
feed Handle pagination through BookmarkService 2021-01-20 15:01:29 +01:00
formatter ShaarliParsedown: add PHPDoc/comments 2021-02-04 10:53:23 +01:00
front Merge pull request #1697 from ArthurHoaro/feature/pagination 2021-02-04 10:57:44 +01:00
helper curl usage: support HTTP/2 response code header 2021-01-19 15:03:18 +01:00
http Fix: synchronous metadata retrieval is failing in strict mode 2020-12-16 14:04:32 +01:00
legacy Manually fix remaining PHPCS errors 2020-11-09 10:56:49 +01:00
netscape Handle pagination through BookmarkService 2021-01-20 15:01:29 +01:00
plugin New plugin hook: ability to add custom filters to Shaarli search engine 2021-02-04 11:02:50 +01:00
render Daily RSS Cache: invalidate cache base on the date 2020-12-17 15:48:03 +01:00
security Apply PHP Code Beautifier on source code for linter automatic fixes 2020-11-09 10:56:24 +01:00
updater Handle pagination through BookmarkService 2021-01-20 15:01:29 +01:00
.htaccess .htaccess files: support Apache 2.4+ syntax 2016-11-08 11:38:14 +01:00
History.php Manually fix remaining PHPCS errors 2020-11-09 10:56:49 +01:00
Languages.php Add russian language selection 2020-11-14 07:45:10 +05:00
Thumbnailer.php Manually fix remaining PHPCS errors 2020-11-09 10:56:49 +01:00
TimeZone.php Apply PHP Code Beautifier on source code for linter automatic fixes 2020-11-09 10:56:24 +01:00
Utils.php format_date: include timezone in IntlDateFormatter object 2021-01-19 15:03:28 +01:00