[geeklog-hg] geeklog: Restored missing single quotes I had removed by mistake

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Tue Jan 22 11:25:26 EST 2013


changeset 8930:2c92ec6e923e
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/2c92ec6e923e
user: Kenji ITO <mystralkk at gmail.com>
date: Wed Jan 23 01:23:23 2013 +0900
description:
Restored missing single quotes I had removed by mistake

diffstat:

 system/databases/mysqli.class.php |  3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diffs (13 lines):

diff -r a3651438cb34 -r 2c92ec6e923e system/databases/mysqli.class.php
--- a/system/databases/mysqli.class.php	Tue Jan 22 23:40:29 2013 +0900
+++ b/system/databases/mysqli.class.php	Wed Jan 23 01:23:23 2013 +0900
@@ -344,8 +344,7 @@
                 $retval .= ' WHERE ';
 
                 for ($i = 1; $i <= $num_ids; $i ++) {
-                    $retval .= current($id) . " = "
-                            .  $this->dbEscapeString(current($value));
+                    $retval .= current($id) . " = '" . current($value) . "'";
                     if ($i !== $num_ids) {
                         $retval .= " AND ";
                     }



More information about the geeklog-cvs mailing list