From a0b1702f4f5204df02c27f585012f764a3aeb747 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 11 Nov 2010 12:47:16 +0800 Subject: [PATCH] Pman/Roo.php --- Pman/Roo.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Pman/Roo.php b/Pman/Roo.php index 634b146..3fad2f7 100644 --- a/Pman/Roo.php +++ b/Pman/Roo.php @@ -819,7 +819,13 @@ class Pman_Roo extends Pman } if (count($ar)) { - $x->whereAddIn($x->tableName(). '.'.$key,$ar, $quote ? 'string' : 'int'); + + + $x->whereAddIn( + isset($this->colsJoinName[$key]) ? + $this->colsJoinName[$key] : + $x->tableName(). '.'.$key, + $ar, $quote ? 'string' : 'int'); } continue; -- 2.39.2