summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorfisharebest <fisharebest@gmail.com>2011-10-29 11:22:15 +0000
committerfisharebest <fisharebest@gmail.com>2011-10-29 11:22:15 +0000
commitffc5635245e1d41676cae52c9749524f82d4cc8a (patch)
tree95c8894f8c2a9c24769d54c20a54509ff455b78d /includes
parente52d3d5eb565c20ed493498323a940da026cdf0f (diff)
downloadwebtrees-ffc5635245e1d41676cae52c9749524f82d4cc8a.tar.gz
webtrees-ffc5635245e1d41676cae52c9749524f82d4cc8a.tar.bz2
webtrees-ffc5635245e1d41676cae52c9749524f82d4cc8a.zip
#880475 - Infinite loop in privacy checks
Diffstat (limited to 'includes')
-rw-r--r--includes/functions/functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/functions/functions.php b/includes/functions/functions.php
index 515df425f0..6c8b584c04 100644
--- a/includes/functions/functions.php
+++ b/includes/functions/functions.php
@@ -1385,7 +1385,7 @@ function get_relationship($pid1, $pid2, $followspouse=true, $maxlength=0, $ignor
// removed (temporarily) to fix #880475
// //-- generate heuristic values based on the birthdates of the current node and p2
- // $indi = WT_Person::getInstance($node['pid']);
+ $indi = WT_Person::getInstance($node['pid']);
// $bdate1=$indi->getBirthDate();
// if ($bdate1->isOK() && $bdate2->isOK()) {
// $yeardiff = ($bdate1->minJD() - $bdate2->minJD()) / 365;