diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2021-09-06 20:28:06 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2021-09-06 20:28:06 +0200 |
commit | 9670951afb5389a97f1f5156df2a80e2c9d29c48 (patch) | |
tree | ae8bcc5b130f9e4c7f67e67d484af359f8ed796d | |
parent | 223db579176f63876cfdfee6ee5400dbc359ac32 (diff) | |
download | gigologadmin-9670951afb5389a97f1f5156df2a80e2c9d29c48.tar.gz gigologadmin-9670951afb5389a97f1f5156df2a80e2c9d29c48.tar.bz2 gigologadmin-9670951afb5389a97f1f5156df2a80e2c9d29c48.zip |
Fix show only own concerts again.
Missed quitation marks around search term.
-rw-r--r-- | includes/concert.php | 2 |
1 files changed, 1 insertions, 1 deletions
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; } } |