summaryrefslogtreecommitdiffstats
path: root/includes/venue.php
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2021-04-15 00:52:02 +0200
committerHarald Eilertsen <haraldei@anduin.net>2021-04-15 00:52:02 +0200
commit68df3cb908f8d6658fa39ef81a923bf8dc21509d (patch)
tree81f7c8dd717920b3815751ff3a22e0ce99deba8f /includes/venue.php
parent0420c538c92e1351c1fbf145a6dd12f8e1be6e1a (diff)
downloadgigologadmin-68df3cb908f8d6658fa39ef81a923bf8dc21509d.tar.gz
gigologadmin-68df3cb908f8d6658fa39ef81a923bf8dc21509d.tar.bz2
gigologadmin-68df3cb908f8d6658fa39ef81a923bf8dc21509d.zip
Save city for venues too.
Diffstat (limited to 'includes/venue.php')
-rw-r--r--includes/venue.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/includes/venue.php b/includes/venue.php
index 850aaa0..07dec0e 100644
--- a/includes/venue.php
+++ b/includes/venue.php
@@ -87,7 +87,8 @@ if ( !class_exists('GiglogAdmin_Venue') ) {
$wpdb->insert('wpg_venues', array(
'id' => '',
- 'wpgvenue_name' => $this->name
+ 'wpgvenue_name' => $this->name,
+ 'wpgvenue_city' => $this->city,
));
$this->id = $wpdb->insert_id;