diff options
author | AndreaChirulescu <andrea.chirulescu@gmail.com> | 2022-02-27 13:35:59 +0100 |
---|---|---|
committer | AndreaChirulescu <andrea.chirulescu@gmail.com> | 2022-02-27 13:35:59 +0100 |
commit | c5d786a1c72911e4352a6e40ea19aff98711d353 (patch) | |
tree | 968f723281aa31d043731dc34f84cdfc2a164ed2 /includes/venue.php | |
parent | 0775b984af29855d0a31ba38a30552f997ecf0b7 (diff) | |
download | gigologadmin-c5d786a1c72911e4352a6e40ea19aff98711d353.tar.gz gigologadmin-c5d786a1c72911e4352a6e40ea19aff98711d353.tar.bz2 gigologadmin-c5d786a1c72911e4352a6e40ea19aff98711d353.zip |
iCal file download fixes to generate one file per concert
giglog import fixes to catch errors and ignore old concerts
Diffstat (limited to 'includes/venue.php')
-rw-r--r-- | includes/venue.php | 2 |
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); |