projects
/
Pman.Base
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e54e3f5
)
Pman/Roo.php
author
Alan Knowles
<alan@akbkhome.com>
Thu, 11 Nov 2010 04:34:43 +0000
(12:34 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 11 Nov 2010 04:34:43 +0000
(12:34 +0800)
Pman/Roo.php
patch
|
blob
|
history
diff --git
a/Pman/Roo.php
b/Pman/Roo.php
index
ab8f65d
..
001f951
100644
(file)
--- 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->cols
Jname[$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->cols
Jname
[$key]} = " . ($quote ? "'". $x->escape($val) ."'" : $val));
}