]> source.dussan.org Git - nextcloud-server.git/commit
Fix passing null to strlen 31655/head
authorThomas Citharel <tcit@tcit.fr>
Tue, 22 Mar 2022 09:24:51 +0000 (10:24 +0100)
committerCôme Chilliet (Rebase PR Action) <come-nc@users.noreply.github.com>
Thu, 24 Mar 2022 09:56:44 +0000 (09:56 +0000)
commit0456f61c1cab907cbd582cfbf3e942460933f537
tree2796e35ab533fe2b0c80ad2c90315d6c1de6ad1b
parentc9ea2363b1e50748b7c85f1e14b036c3d92cc31a
Fix passing null to strlen

$filter can be null as it's the default value passed in
ContactsMenuController.

On PHP 8.1 : strlen(): Passing null to parameter #1 ($string) of type string is deprecated

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
lib/private/Contacts/ContactsMenu/ContactsStore.php
lib/private/Contacts/ContactsMenu/Manager.php