mirror of
https://codeberg.org/vlw/vlw.se.git
synced 2025-09-14 13:23:41 +02:00
fix: typo in widlcardsearch function
This commit is contained in:
parent
e2152d3f1b
commit
ab1344085b
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@
|
||||||
// https://github.com/VictorWesterlund/php-libmysqldriver?tab=readme-ov-file#define-custom-operators
|
// https://github.com/VictorWesterlund/php-libmysqldriver?tab=readme-ov-file#define-custom-operators
|
||||||
public static function make_wildcard_search(string $property_name, array &$filters): array {
|
public static function make_wildcard_search(string $property_name, array &$filters): array {
|
||||||
// Bail out if property name is not set in filters array or if its value is null
|
// Bail out if property name is not set in filters array or if its value is null
|
||||||
if (!array_key_exists($property_name, $filters) || $filers[$property_name] !== null) {
|
if (!array_key_exists($property_name, $filters) || $filters[$property_name] === null) {
|
||||||
return $filters;
|
return $filters;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue