projects
/
Pman.Base
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf8555d
)
Pman/Roo.php
author
Alan Knowles
<alan@akbkhome.com>
Thu, 11 Nov 2010 11:24:28 +0000
(19:24 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 11 Nov 2010 11:24:28 +0000
(19:24 +0800)
Pman/Roo.php
patch
|
blob
|
history
diff --git
a/Pman/Roo.php
b/Pman/Roo.php
index
7818d8e
..
3d013f5
100644
(file)
--- a/
Pman/Roo.php
+++ b/
Pman/Roo.php
@@
-724,7
+724,10
@@
class Pman_Roo extends Pman
$cols[] = $c;
}
}
- $selectAs[] = array($cols, $ocl.'_%s', 'join_'.$ocl.'_'. $col);
+ if (!empty($cols)) {
+ $selectAs[] = array($cols, $ocl.'_%s', 'join_'.$ocl.'_'. $col);
+ }
+
} else {
$selectAs[] = array($xx, $ocl.'_%s', 'join_'.$ocl.'_'. $col);