Commit 98c2acd5 authored by Joe Oblivian's avatar Joe Oblivian Committed by lechuck

awful workaround

parent bcb9c6d0
......@@ -678,6 +678,15 @@ class hyperdb extends wpdb {
$collate = null;
$this->set_charset($this->dbhs[$dbhname], $charset, $collate);
if ( !isset( $charset ) )
$charset = null;
if ( !isset( $collate ) )
$collate = null;
// AI workaround: set all queries to latin1
$this->set_charset($this->dbhs[$dbhname], 'latin1');
$this->dbh = $this->dbhs[$dbhname]; // needed by $wpdb->_real_escape()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment