From 000959d9134504933ce07383f62992e9dfa59f34 Mon Sep 17 00:00:00 2001 From: Greg Roach Date: Thu, 5 Feb 2015 09:26:51 +0000 Subject: Add API to access the parent tree of a record --- app/Module.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Module.php') 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(); -- cgit v1.3