summaryrefslogtreecommitdiffstats
path: root/includes/admin/views/giglog_import_gigs.php
diff options
context:
space:
mode:
authorAndreaChirulescu <andrea.chirulescu@gmail.com>2021-04-12 16:27:36 +0200
committerAndreaChirulescu <andrea.chirulescu@gmail.com>2021-04-12 16:27:36 +0200
commitf7cec44a6951c9cab6f72829ac286cdedf84ec02 (patch)
treeaf64dac3510d6435b80f3b7ae7fc67a12557a97f /includes/admin/views/giglog_import_gigs.php
parent57d16c7273031910f321ffeb776168f8e5838ea4 (diff)
downloadgigologadmin-f7cec44a6951c9cab6f72829ac286cdedf84ec02.tar.gz
gigologadmin-f7cec44a6951c9cab6f72829ac286cdedf84ec02.tar.bz2
gigologadmin-f7cec44a6951c9cab6f72829ac286cdedf84ec02.zip
Fixed calls to cretae band/venue functions in import gigs code
Diffstat (limited to 'includes/admin/views/giglog_import_gigs.php')
-rw-r--r--includes/admin/views/giglog_import_gigs.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/admin/views/giglog_import_gigs.php b/includes/admin/views/giglog_import_gigs.php
index 2423c74..04b2351 100644
--- a/includes/admin/views/giglog_import_gigs.php
+++ b/includes/admin/views/giglog_import_gigs.php
@@ -80,12 +80,12 @@ if ( !class_exists( 'GiglogAdmin_ImportGigsPage' ) ) {
//first item in the row should be band $resultArray[0]; second should be venue $resultArray[1]; third should be concert date $resultArray[2];
//fourth item is ticketlink $resultArray[3]; fifth item is eventlink $resultArray[4];
- $newconcert[0] = GiglogAdmin_Band::find_or_create($band);
+ $newconcert[0] = GiglogAdmin_Band::find_or_create($band,'NO');
if (is_numeric($venue))
$newconcert[1] = $venue;
else {
- $v = GiglogAdmin_Venue::find_or_create($venue);
+ $v = GiglogAdmin_Venue::find_or_create($venue,'Oslo');
$newconcert[1] = $v->id();
}