diff options
author | Dominique Fournier <dominique.fournier@grenoble.cnrs.fr> | 2020-09-10 12:19:46 +0300 |
---|---|---|
committer | Dominique Fournier <dominique.fournier@grenoble.cnrs.fr> | 2020-09-10 12:19:46 +0300 |
commit | b503f10846f9dd72506cdc07389fab01ff0c2c45 (patch) | |
tree | 437861b8f485367682593a0769ee1ffb844a43f7 | |
parent | ba1d12bdfdff7f1c954e8459b4a64813fb2a0b29 (diff) |
When there is no cards, the search will generate an error : in_array() expects parameter 2 to be array, null given at /var/www/html/nextcloud/apps/carnet/lib/Misc/Search.php#120
-rw-r--r-- | lib/Misc/Search.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Misc/Search.php b/lib/Misc/Search.php index 018f112..74de4e3 100644 --- a/lib/Misc/Search.php +++ b/lib/Misc/Search.php @@ -17,6 +17,7 @@ class Search { private $searchCache; private $current=0; private $from; + private $pathArray = array (); /** * @param string $appName @@ -188,4 +189,4 @@ $this->setName('carnet:search') } -?>
\ No newline at end of file +?> |