summaryrefslogtreecommitdiffstats
path: root/includes
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2021-09-06 20:28:06 +0200
committerHarald Eilertsen <haraldei@anduin.net>2021-09-06 20:28:06 +0200
commit9670951afb5389a97f1f5156df2a80e2c9d29c48 (patch)
treeae8bcc5b130f9e4c7f67e67d484af359f8ed796d /includes
parent223db579176f63876cfdfee6ee5400dbc359ac32 (diff)
downloadgigologadmin-9670951afb5389a97f1f5156df2a80e2c9d29c48.tar.gz
gigologadmin-9670951afb5389a97f1f5156df2a80e2c9d29c48.tar.bz2
gigologadmin-9670951afb5389a97f1f5156df2a80e2c9d29c48.zip
Fix show only own concerts again.
Missed quitation marks around search term.
Diffstat (limited to 'includes')
-rw-r--r--includes/concert.php2
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;
}
}