summaryrefslogtreecommitdiff
path: root/library/WT/Source.php
diff options
context:
space:
mode:
Diffstat (limited to 'library/WT/Source.php')
-rw-r--r--library/WT/Source.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/library/WT/Source.php b/library/WT/Source.php
index 2d641c3bb0..f6aee02dd9 100644
--- a/library/WT/Source.php
+++ b/library/WT/Source.php
@@ -2,7 +2,7 @@
// Class file for a Source (SOUR) object
//
// webtrees: Web based Family History software
-// Copyright (C) 2013 webtrees development team.
+// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
// Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved.
@@ -19,7 +19,7 @@
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
-// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
if (!defined('WT_WEBTREES')) {
header('HTTP/1.0 403 Forbidden');
@@ -63,7 +63,7 @@ class WT_Source extends WT_GedcomRecord {
}
// Get an array of structures containing all the names in the record
- public function getAllNames() {
- return parent::_getAllNames('TITL', 1);
+ public function extractNames() {
+ parent::_extractNames(1, 'TITL', $this->getFacts('TITL'));
}
}