summaryrefslogtreecommitdiff
path: root/app/Module.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Module.php')
-rw-r--r--app/Module.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Module.php b/app/Module.php
index 756da3fa02..93f79358f0 100644
--- a/app/Module.php
+++ b/app/Module.php
@@ -169,7 +169,7 @@ abstract class Module {
$access_level = Database::prepare(
"SELECT access_level FROM `##module_privacy` WHERE gedcom_id = :gedcom_id AND module_name = :module_name AND component = :component"
)->execute(array(
- 'gedcom_id' => $tree->id(),
+ 'gedcom_id' => $tree->getId(),
'module_name' => $this->getName(),
'component' => $component,
))->fetchOne();