Index: trunk/phase3/includes/db/DatabaseSqlite.php |
— | — | @@ -460,7 +460,7 @@ |
461 | 461 | * Build a concatenation list to feed into a SQL query |
462 | 462 | */ |
463 | 463 | function buildConcat( $stringList ) { |
464 | | - return implode( ' || ', $stringList ); |
| 464 | + return '(' . implode( ') || (', $stringList ) . ')'; |
465 | 465 | } |
466 | 466 | |
467 | 467 | } // end DatabaseSqlite class |