summaryrefslogtreecommitdiff
path: root/includes/functions/functions_import.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/functions/functions_import.php')
-rw-r--r--includes/functions/functions_import.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/includes/functions/functions_import.php b/includes/functions/functions_import.php
index 85a5ae5076..f60a51a10c 100644
--- a/includes/functions/functions_import.php
+++ b/includes/functions/functions_import.php
@@ -1233,6 +1233,8 @@ function import_max_ids($ged_id, $MAX_IDS) {
// Accept all pending changes for a specified record
function accept_all_changes($xref, $ged_id) {
+ global $TBLPREFIX;
+
$changes=WT_DB::prepare(
"SELECT change_id, gedcom_name, new_gedcom".
" FROM {$TBLPREFIX}change c".
@@ -1248,6 +1250,8 @@ function accept_all_changes($xref, $ged_id) {
// Accept all pending changes for a specified record
function reject_all_changes($xref, $ged_id) {
+ global $TBLPREFIX;
+
WT_DB::prepare(
"UPDATE {$TBLPREFIX}change".
" SET status='rejected'".