summaryrefslogtreecommitdiffstats
path: root/includes/venue.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/venue.php')
-rw-r--r--includes/venue.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/venue.php b/includes/venue.php
index 177ba2d..5e9ecf9 100644
--- a/includes/venue.php
+++ b/includes/venue.php
@@ -75,7 +75,7 @@ if ( !class_exists('GiglogAdmin_Venue') ) {
{
global $wpdb;
$venuesql = "SELECT * FROM {$wpdb->prefix}giglogadmin_venues "
- . $wpdb->prepare("WHERE upper(wpgvenue_name)=upper(%s) and wpgvenue_city=%s", $name, $city);
+ . $wpdb->prepare("WHERE upper(wpgvenue_name)=upper(%s) and upper(wpgvenue_city)=upper(%s)", $name, $city);
$results = $wpdb->get_results($venuesql);