diff options
author | ArthurHoaro <arthur@hoa.ro> | 2020-10-13 13:56:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-13 13:56:07 +0200 |
commit | 4a26974a4b36362d25d8a3a029eac539685c03f6 (patch) | |
tree | 4f34052788a08be1a30cb88c3339ae14e0b7c4da /application/feed | |
parent | 29c31b7ec6ca48ba37b7eb6da650931fd0cb7164 (diff) | |
parent | efb7d21b52eb033530e80e5e49d175e6e3b031f4 (diff) | |
download | Shaarli-4a26974a4b36362d25d8a3a029eac539685c03f6.tar.gz Shaarli-4a26974a4b36362d25d8a3a029eac539685c03f6.tar.zst Shaarli-4a26974a4b36362d25d8a3a029eac539685c03f6.zip |
Merge pull request #1583 from ArthurHoaro/feature/bookmark-strict-types
Add strict types for bookmarks management
Diffstat (limited to 'application/feed')
-rw-r--r-- | application/feed/FeedBuilder.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/application/feed/FeedBuilder.php b/application/feed/FeedBuilder.php index f6def630..f70fce4f 100644 --- a/application/feed/FeedBuilder.php +++ b/application/feed/FeedBuilder.php | |||
@@ -102,7 +102,7 @@ class FeedBuilder | |||
102 | } | 102 | } |
103 | 103 | ||
104 | // Optionally filter the results: | 104 | // Optionally filter the results: |
105 | $linksToDisplay = $this->linkDB->search($userInput, null, false, false, true); | 105 | $linksToDisplay = $this->linkDB->search($userInput ?? [], null, false, false, true); |
106 | 106 | ||
107 | $nblinksToDisplay = $this->getNbLinks(count($linksToDisplay), $userInput); | 107 | $nblinksToDisplay = $this->getNbLinks(count($linksToDisplay), $userInput); |
108 | 108 | ||