Replace uses of join() by implode()
[lhc/web/wiklou.git] / includes / api / ApiUpload.php
index 0eecaa1..326f8ba 100644 (file)
@@ -544,7 +544,7 @@ class ApiUpload extends ApiBase {
 
                                $msg = 'Filetype not permitted: ';
                                if ( isset( $verification['blacklistedExt'] ) ) {
-                                       $msg .= join( ', ', $verification['blacklistedExt'] );
+                                       $msg .= implode( ', ', $verification['blacklistedExt'] );
                                        $extradata['blacklisted'] = array_values( $verification['blacklistedExt'] );
                                        ApiResult::setIndexedTagName( $extradata['blacklisted'], 'ext' );
                                } else {