Some code cleanup per Nikerabbit
[lhc/web/wiklou.git] / includes / Exif.php
index 3f3a1ce..d5cf09c 100644 (file)
@@ -799,7 +799,7 @@ class FormatExif {
                                        $fullTag = $tag . '-' . $subTag ;
                                        $flashMsgs[] = $this->msg( $fullTag, $subValue );
                                }
-                               $tags[$tag] = implode( wfMsg( 'comma-separator' ), $flashMsgs );
+                               $tags[$tag] = $wgLang->commaList( $flashMsgs );
                        break;
 
                        case 'FocalPlaneResolutionUnit':