projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ce6738
)
DatabaseColumns.php
author
Alan Knowles
<alan@roojs.com>
Thu, 22 May 2014 07:41:00 +0000
(15:41 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 22 May 2014 07:41:00 +0000
(15:41 +0800)
DatabaseColumns.php
patch
|
blob
|
history
diff --git
a/DatabaseColumns.php
b/DatabaseColumns.php
index
e701908
..
f80fae0
100644
(file)
--- a/
DatabaseColumns.php
+++ b/
DatabaseColumns.php
@@
-25,11
+25,11
@@
class Pman_Core_DatabaseColumns extends Pman {
function get($table) {
$d = DB_DAtaObject::Factory($table);
$re = $d->autoJoin();
- $ret =
raray
();
- foreach($re['cols'] as $c=>$f {
+ $ret =
array
();
+ foreach($re['cols'] as $c=>$f
)
{
$ret[] = array(
'name' => $c,
- 'val' =>$f
+ 'val' =>
$f
);
}