r93327 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r93326‎ | r93327 | r93328 >
Date:22:41, 27 July 2011
Author:jeroendedauw
Status:deferred
Tags:
Comment:
applied patch from bug 29763 by Alan Fang
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/includes/queryprinters/SMW_QueryPrinter.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/queryprinters/SMW_QueryPrinter.php
@@ -206,6 +206,10 @@
207207 $result = $this->handleNonFileResult( $result, $results, $outputmode );
208208 }
209209
 210+ if ( $GLOBALS['wgDBtype'] == 'postgres' ) {
 211+ $result = pg_unescape_bytea( $result );
 212+ }
 213+
210214 return $result;
211215 }
212216