Index: trunk/extensions/SemanticMediaWiki/includes/queryprinters/SMW_QueryPrinter.php |
— | — | @@ -206,6 +206,10 @@ |
207 | 207 | $result = $this->handleNonFileResult( $result, $results, $outputmode ); |
208 | 208 | } |
209 | 209 | |
| 210 | + if ( $GLOBALS['wgDBtype'] == 'postgres' ) { |
| 211 | + $result = pg_unescape_bytea( $result ); |
| 212 | + } |
| 213 | + |
210 | 214 | return $result; |
211 | 215 | } |
212 | 216 | |