projects
/
Pman.Base
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8fba75
)
Pman/Roo.php
author
Alan Knowles
<alan@akbkhome.com>
Thu, 11 Nov 2010 04:30:40 +0000
(12:30 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 11 Nov 2010 04:30:40 +0000
(12:30 +0800)
Pman/Roo.php
patch
|
blob
|
history
diff --git
a/Pman/Roo.php
b/Pman/Roo.php
index
ef459d0
..
25d256c
100644
(file)
--- a/
Pman/Roo.php
+++ b/
Pman/Roo.php
@@
-861,7
+861,7
@@
class Pman_Roo extends Pman
if (!is_numeric($val) || !is_long($val)) {
$quote = true;
}
- $x->whereAdd( "
$key
= " . ($quote ? "'". $x->escape($val) ."'" : $val));
+ $x->whereAdd( "
{$this->cols[$key]}
= " . ($quote ? "'". $x->escape($val) ."'" : $val));
}