From: Greg Sabino Mullane Date: Mon, 11 Jun 2007 18:40:31 +0000 (+0000) Subject: Revert to correct encodeBlob() function X-Git-Tag: 1.31.0-rc.0~52577 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmembres/load.php?a=commitdiff_plain;h=5860ba18945214fcc21cba2c109d1733e9687970;p=lhc%2Fweb%2Fwiklou.git Revert to correct encodeBlob() function --- diff --git a/includes/DatabasePostgres.php b/includes/DatabasePostgres.php index ef20292a5d..4b56543173 100644 --- a/includes/DatabasePostgres.php +++ b/includes/DatabasePostgres.php @@ -1099,7 +1099,7 @@ END; } function encodeBlob( $b ) { - return pg_escape_bytea( $b ); + return array('bytea',pg_escape_bytea($b)); } function decodeBlob( $b ) { return pg_unescape_bytea( $b );