From 047d6f51c818082049aa357980c97c69dddc29d5 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Tue, 12 May 2020 20:11:45 +0200 Subject: [PATCH] LSsearch: fix PHP warning --- src/includes/class/class.LSsearch.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/includes/class/class.LSsearch.php b/src/includes/class/class.LSsearch.php index a049f6f0..b0a9ecd9 100644 --- a/src/includes/class/class.LSsearch.php +++ b/src/includes/class/class.LSsearch.php @@ -144,7 +144,7 @@ class LSsearch { * @retval boolean True on success or False */ private function loadDefaultParameters() { - if (is_array($this -> config['params'])) { + if (isset($this -> config['params']) && is_array($this -> config['params'])) { return $this -> setParams($this -> config['params']); } return true;