cvs: pear /MDB2/MDB2/Driver mysqli.php

From: Date: Sat, 30 Sep 2006 10:27:06 +0000
Subject: cvs: pear /MDB2/MDB2/Driver mysqli.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-42314@lists.php.net to get a copy of this message
lsmith Sat Sep 30 10:27:06 2006 UTC Modified files: /pear/MDB2/MDB2/Driver mysqli.php Log: - fixed parameter order in charset setting fallback (Bug #8807) http://cvs.php.net/viewvc.cgi/pear/MDB2/MDB2/Driver/mysqli.php?r1=1.137&r2=1.138&diff_format=u Index: pear/MDB2/MDB2/Driver/mysqli.php diff -u pear/MDB2/MDB2/Driver/mysqli.php:1.137 pear/MDB2/MDB2/Driver/mysqli.php:1.138 --- pear/MDB2/MDB2/Driver/mysqli.php:1.137 Wed Sep 6 22:54:45 2006 +++ pear/MDB2/MDB2/Driver/mysqli.php Sat Sep 30 10:27:06 2006 @@ -43,7 +43,7 @@ // | Author: Lukas Smith <smith@pooteeweet.org> | // +----------------------------------------------------------------------+ // -// $Id: mysqli.php,v 1.137 2006/09/06 22:54:45 lsmith Exp $ +// $Id: mysqli.php,v 1.138 2006/09/30 10:27:06 lsmith Exp $ // /** @@ -524,8 +524,8 @@ if (function_exists('mysqli_set_charset')) { $result = @mysqli_set_charset($connection, $charset); } else { - $query = "SET character_set_client = '".mysqli_real_escape_string($charset, $connection)."'"; - $result = @mysqli_query($query, $connection); + $query = "SET character_set_client = '".mysqli_real_escape_string($connection, $charset)."'"; + $result = @mysqli_query($connection, $query); } if (!$result) {

« previous php.pear.cvs (#42314) next »