Hopefully fix the problem with EXIF field names being listed as <exif-exif-make>...
authorBrion Vibber <brion@users.mediawiki.org>
Sun, 29 Jul 2007 23:39:54 +0000 (23:39 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Sun, 29 Jul 2007 23:39:54 +0000 (23:39 +0000)
Since the type is already added to the sub-name, presumably the type ('exif') should not be added in again here.

includes/media/Bitmap.php

index 17e9930..dfa794b 100644 (file)
@@ -278,7 +278,7 @@ class BitmapHandler extends ImageHandler {
                        self::addMeta( $result,
                                in_array( $tag, $visibleFields ) ? 'visible' : 'collapsed',
                                'exif',
-                               "exif-$tag",
+                               $tag,
                                $value
                        );
                }