summaryrefslogtreecommitdiff
path: root/pgv_to_wt.php
diff options
context:
space:
mode:
authorfisharebest <fisharebest@gmail.com>2010-07-29 21:45:49 +0000
committerfisharebest <fisharebest@gmail.com>2010-07-29 21:45:49 +0000
commit173420f87327d267cbdafae9c948f693edd3bd0b (patch)
treecec1023924405aca99f1b251f43f7b9b97d8dff0 /pgv_to_wt.php
parent516a70a8c142a0c72018de049ee9ff252110aba1 (diff)
downloadwebtrees-173420f87327d267cbdafae9c948f693edd3bd0b.tar.gz
webtrees-173420f87327d267cbdafae9c948f693edd3bd0b.tar.bz2
webtrees-173420f87327d267cbdafae9c948f693edd3bd0b.zip
Fix: anniversary events not working when using pgv-wt import wizard
Diffstat (limited to 'pgv_to_wt.php')
-rw-r--r--pgv_to_wt.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/pgv_to_wt.php b/pgv_to_wt.php
index 45fc06ea8d..e3b248265c 100644
--- a/pgv_to_wt.php
+++ b/pgv_to_wt.php
@@ -681,8 +681,8 @@ WT_DB::prepare(
echo '<p>pgv_dates => wt_dates ...</p>'; flush();
WT_DB::prepare(
- "REPLACE INTO `##dates` (d_day, d_month, d_year, d_julianday1, d_julianday2, d_fact, d_gid, d_File, d_type)".
- " SELECT d_day, d_month, d_year, d_julianday1, d_julianday2, d_fact, d_gid, d_File, d_type FROM {$DBNAME}.{$TBLPREFIX}dates"
+ "REPLACE INTO `##dates` (d_day, d_mon, d_month, d_year, d_julianday1, d_julianday2, d_fact, d_gid, d_File, d_type)".
+ " SELECT d_day, d_mon, d_month, d_year, d_julianday1, d_julianday2, d_fact, d_gid, d_File, d_type FROM {$DBNAME}.{$TBLPREFIX}dates"
)->execute();
////////////////////////////////////////////////////////////////////////////////