From 9670951afb5389a97f1f5156df2a80e2c9d29c48 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Mon, 6 Sep 2021 20:28:06 +0200 Subject: Fix show only own concerts again. Missed quitation marks around search term. --- includes/concert.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/concert.php b/includes/concert.php index 936154f..102536b 100644 --- a/includes/concert.php +++ b/includes/concert.php @@ -220,7 +220,7 @@ if ( !class_exists('GiglogAdmin_Concert') ) { break; case 'currentuser': - array_push($where , $wpdb->prepare(self::KEY_TRANS_TABLE[$key] . ' like %%%s%%', $value)); + array_push($where , $wpdb->prepare(self::KEY_TRANS_TABLE[$key] . ' like "%%%s%%"', $value)); break; } } -- cgit v1.2.3