We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e72bec6 commit 54455dcCopy full SHA for 54455dc
tools/bazar/controllers/ApiController.php
@@ -240,7 +240,7 @@ public function getBazarListData()
240
}, $_GET);
241
242
// format search field
243
- $searchfields = $_GET['search'] == 'dynamic' ? $_GET['searchfields'] ?? [] : [];
+ $searchfields = isset($GET['search']) && $_GET['search'] == 'dynamic' ? $_GET['searchfields'] ?? [] : [];
244
$searchfields = (empty($searchfields) || !is_string($searchfields) || !is_array($searchfields))
245
? ['bf_titre']
246
: (
0 commit comments