Index: trunk/phase3/includes/DatabasePostgres.php |
— | — | @@ -1099,7 +1099,7 @@ |
1100 | 1100 | } |
1101 | 1101 | |
1102 | 1102 | function encodeBlob( $b ) { |
1103 | | - return array('bytea',pg_escape_bytea($b)); |
| 1103 | + return pg_escape_bytea( $b ); |
1104 | 1104 | } |
1105 | 1105 | function decodeBlob( $b ) { |
1106 | 1106 | return pg_unescape_bytea( $b ); |