Index: trunk/extensions/WikiScripts/interpreter/Data.php |
— | — | @@ -224,6 +224,8 @@ |
225 | 225 | return new WSData( self::DList, array_merge( $a->toList(), $b->toList() ) ); |
226 | 226 | elseif( $a->type == self::DList ) |
227 | 227 | return new WSData( self::DList, array_merge( $a->toList(), array( $b ) ) ); |
| 228 | + elseif( $b->type == self::DList ) |
| 229 | + return new WSData( self::DList, array_merge( array( $a ), $b->toList() ) ); |
228 | 230 | elseif( $a->type == self::DAssoc && $b->type == self::DAssoc ) |
229 | 231 | return new WSData( self::DAssoc, array_merge( $a->toAssoc(), $b->toAssoc() ) ); |
230 | 232 | elseif( $a->type == self::DInt && $b->type == self::DInt ) |