diff options
| author | Greg Roach <fisharebest@gmail.com> | 2017-03-07 12:02:25 +0000 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2017-06-17 16:17:44 +0100 |
| commit | 15d603e7c7c15d20f055d3d9c38d6b133453c5be (patch) | |
| tree | 14cd348cd8d2cbb465626429334a9558c0bf5a43 /app/GedcomCode | |
| parent | 95664b44addad5559917902d85518988a3ea7bc4 (diff) | |
| download | webtrees-15d603e7c7c15d20f055d3d9c38d6b133453c5be.tar.gz webtrees-15d603e7c7c15d20f055d3d9c38d6b133453c5be.tar.bz2 webtrees-15d603e7c7c15d20f055d3d9c38d6b133453c5be.zip | |
jQuery-3, Bootstrap-4, FontAwesome-4.7, Select2-4, remove popup windows
Diffstat (limited to 'app/GedcomCode')
| -rw-r--r-- | app/GedcomCode/GedcomCodeName.php | 2 | ||||
| -rw-r--r-- | app/GedcomCode/GedcomCodePedi.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/GedcomCode/GedcomCodeName.php b/app/GedcomCode/GedcomCodeName.php index 08fc3198b9..a11a3c72c6 100644 --- a/app/GedcomCode/GedcomCodeName.php +++ b/app/GedcomCode/GedcomCodeName.php @@ -156,7 +156,7 @@ class GedcomCodeName { * @return string[] */ public static function getValues(GedcomRecord $record = null) { - $values = []; + $values = ['' => '']; foreach (self::$TYPES as $type) { $values[$type] = self::getValue($type, $record); } diff --git a/app/GedcomCode/GedcomCodePedi.php b/app/GedcomCode/GedcomCodePedi.php index 1191ec88d9..8f28e5d03b 100644 --- a/app/GedcomCode/GedcomCodePedi.php +++ b/app/GedcomCode/GedcomCodePedi.php @@ -104,7 +104,7 @@ class GedcomCodePedi { * @return string[] */ public static function getValues(GedcomRecord $record = null) { - $values = []; + $values = ['' => '']; foreach (self::$TYPES as $type) { $values[$type] = self::getValue($type, $record); } |
