From 16d3e67f0b687369c98826c03bbba3c432400e9a Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 11 Nov 2010 12:34:43 +0800 Subject: [PATCH] Pman/Roo.php --- Pman/Roo.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Pman/Roo.php b/Pman/Roo.php index ab8f65d..001f951 100644 --- a/Pman/Roo.php +++ b/Pman/Roo.php @@ -858,12 +858,12 @@ class Pman_Roo extends Pman $q_filtered[$key] = $val; } - if (isset($this->cols[$key]) && strpos( $this->cols[$key], '.') !== false) { + if (isset($this->colsJname[$key])) { $quote = false; if (!is_numeric($val) || !is_long($val)) { $quote = true; } - $x->whereAdd( "{$this->cols[$key]} = " . ($quote ? "'". $x->escape($val) ."'" : $val)); + $x->whereAdd( "{$this->colsJname[$key]} = " . ($quote ? "'". $x->escape($val) ."'" : $val)); } -- 2.39.2