From 5860ba18945214fcc21cba2c109d1733e9687970 Mon Sep 17 00:00:00 2001 From: Greg Sabino Mullane Date: Mon, 11 Jun 2007 18:40:31 +0000 Subject: [PATCH] Revert to correct encodeBlob() function --- includes/DatabasePostgres.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); -- 2.20.1