summaryrefslogtreecommitdiff
path: root/includes/functions/functions_db.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/functions/functions_db.php')
-rw-r--r--includes/functions/functions_db.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/functions/functions_db.php b/includes/functions/functions_db.php
index 284329187c..d1510d7e96 100644
--- a/includes/functions/functions_db.php
+++ b/includes/functions/functions_db.php
@@ -66,7 +66,7 @@ function exists_pending_change(User $user = null, Tree $tree = null) {
"SELECT 1" .
" FROM `##change`" .
" WHERE status='pending' AND gedcom_id=?"
- )->execute(array($tree->id()))->fetchOne();
+ )->execute(array($tree->getId()))->fetchOne();
}
/**