diff options
| author | fisharebest <fisharebest@gmail.com> | 2013-07-16 21:16:33 +0000 |
|---|---|---|
| committer | fisharebest <fisharebest@gmail.com> | 2013-07-16 21:16:33 +0000 |
| commit | d7672bc422fef711cafc7d913db8aa202fc451b4 (patch) | |
| tree | cdddf102487a1ec69891cdddd29f6b9ca8014e92 /modules_v3 | |
| parent | 23f38d878cb7c77290e84dc68d770205f2539c78 (diff) | |
| download | webtrees-d7672bc422fef711cafc7d913db8aa202fc451b4.tar.gz webtrees-d7672bc422fef711cafc7d913db8aa202fc451b4.tar.bz2 webtrees-d7672bc422fef711cafc7d913db8aa202fc451b4.zip | |
#1201192 - Sitemap and getClientIp() Errors (SVN15297)
Diffstat (limited to 'modules_v3')
| -rw-r--r-- | modules_v3/sitemap/module.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/modules_v3/sitemap/module.php b/modules_v3/sitemap/module.php index 51072b398e..967b3f7626 100644 --- a/modules_v3/sitemap/module.php +++ b/modules_v3/sitemap/module.php @@ -4,9 +4,6 @@ // webtrees: Web based Family History software // Copyright (C) 2013 webtrees development team. // -// Derived from PhpGedView -// Copyright (C) 2010 John Finlay -// // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation; either version 2 of the License, or @@ -193,7 +190,7 @@ class sitemap_WT_Module extends WT_Module implements WT_Module_Config { if ($record->canShowName()) { $data.='<url>'; $data.='<loc>'.WT_SERVER_NAME.WT_SCRIPT_PATH.$record->getHtmlUrl().'</loc>'; - $chan=$record->getChangeEvent(); + $chan=$record->getFactByType('CHAN'); if ($chan) { $date=$chan->getDate(); if ($date->isOK()) { |
