diff options
| author | Greg Roach <fisharebest@gmail.com> | 2013-10-05 17:30:00 +0100 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2013-10-05 17:30:00 +0100 |
| commit | bddd202e8e3ef83bb1baef1418b4eaec21bbe52e (patch) | |
| tree | 1e6f4e07b4776fb6d5c9ceda63958dfc351ef66b /includes | |
| parent | 34cdbc3cebb3fecca9c960e3fa52aba10017d039 (diff) | |
| download | webtrees-bddd202e8e3ef83bb1baef1418b4eaec21bbe52e.tar.gz webtrees-bddd202e8e3ef83bb1baef1418b4eaec21bbe52e.tar.bz2 webtrees-bddd202e8e3ef83bb1baef1418b4eaec21bbe52e.zip | |
HTML validation error
Diffstat (limited to 'includes')
| -rw-r--r-- | includes/functions/functions_print_facts.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/functions/functions_print_facts.php b/includes/functions/functions_print_facts.php index 6d878bcd20..5bc5bbe361 100644 --- a/includes/functions/functions_print_facts.php +++ b/includes/functions/functions_print_facts.php @@ -1030,6 +1030,7 @@ function print_main_media(WT_Fact $fact, $level) { if (empty($SEARCH_SPIDER)) { echo '</a>'; } + echo '</span>'; echo WT_Gedcom_Tag::getLabelValue('FORM', $media->mimeType()); $imgsize = $media->getImageAttributes('main'); @@ -1043,7 +1044,6 @@ function print_main_media(WT_Fact $fact, $level) { if ($mediatype) { echo WT_Gedcom_Tag::getLabelValue('TYPE', WT_Gedcom_Tag::getFileFormTypeValue($mediatype)); } - echo '</span>'; switch ($media->isPrimary()) { case 'Y': @@ -1061,4 +1061,4 @@ function print_main_media(WT_Fact $fact, $level) { echo '</td></tr>'; } } -} +}
\ No newline at end of file |
