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