diff options
| author | fisharebest <fisharebest@gmail.com> | 2010-12-14 10:33:08 +0000 |
|---|---|---|
| committer | fisharebest <fisharebest@gmail.com> | 2010-12-14 10:33:08 +0000 |
| commit | c4ada0028d36b38b30d91619cbcc84784480a15d (patch) | |
| tree | 4e4c37ea07e9c919e1a1895193197dc09e7ef286 | |
| parent | d15e35b51becdd6825e1ca954f46c52ef85296a9 (diff) | |
| download | webtrees-c4ada0028d36b38b30d91619cbcc84784480a15d.tar.gz webtrees-c4ada0028d36b38b30d91619cbcc84784480a15d.tar.bz2 webtrees-c4ada0028d36b38b30d91619cbcc84784480a15d.zip | |
Fix: 10028, cannot edit a record with pending changes. This is because we now check whether the gedcom allows editing, and pending records weren't associated with any gedcom.
| -rw-r--r-- | includes/classes/class_gedcomrecord.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/classes/class_gedcomrecord.php b/includes/classes/class_gedcomrecord.php index 39c4be8de0..9952052e8c 100644 --- a/includes/classes/class_gedcomrecord.php +++ b/includes/classes/class_gedcomrecord.php @@ -75,6 +75,7 @@ class GedcomRecord { if (preg_match('/^0 (?:@('.WT_REGEX_XREF.')@ )?('.WT_REGEX_TAG.')/', $data, $match)) { $this->xref=$match[1]; $this->type=$match[2]; + $this->ged_id=WT_GED_ID; } } |
