Index: trunk/extensions/ClientSide/ClientSide.php |
— | — | @@ -30,7 +30,7 @@ |
31 | 31 | array_shift( $arguments ); |
32 | 32 | } |
33 | 33 | if ( count( $arguments ) > 0 ) { |
34 | | - return self::tag( 'table', $attributes, implode( $arguments ) ); |
| 34 | + return self::tag( 'table', $attributes, implode( '', $arguments ) ); |
35 | 35 | } |
36 | 36 | return null; |
37 | 37 | } |
— | — | @@ -49,7 +49,7 @@ |
50 | 50 | array_shift( $arguments ); |
51 | 51 | } |
52 | 52 | if ( count( $arguments ) > 0 ) { |
53 | | - return self::tag( 'tr', $attributes, implode( $arguments ) ); |
| 53 | + return self::tag( 'tr', $attributes, implode( '', $arguments ) ); |
54 | 54 | } |
55 | 55 | return null; |
56 | 56 | } |
— | — | @@ -163,7 +163,7 @@ |
164 | 164 | $contents = null |
165 | 165 | ) { |
166 | 166 | if ( is_array( $contents ) && count( $contents ) > 1 ) { |
167 | | - return Xml::tags( $tag, $attributes, implode( $contents ) ); |
| 167 | + return Xml::tags( $tag, $attributes, implode( '', $contents ) ); |
168 | 168 | } else { |
169 | 169 | return Xml::tags( |
170 | 170 | $tag, $attributes, $contents, ( $contents !== null ) |
— | — | @@ -313,7 +313,7 @@ |
314 | 314 | ) { |
315 | 315 | // Arrays |
316 | 316 | if ( is_array( $value ) ) { |
317 | | - return "'" . self::escape( implode( $value ) ) . "'"; |
| 317 | + return "'" . self::escape( implode( '', $value ) ) . "'"; |
318 | 318 | } |
319 | 319 | // Scalars |
320 | 320 | if ( is_scalar( $value ) ) { |