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 7883553 commit 7eb39abCopy full SHA for 7eb39ab
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