mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
#19705602 problem fixed, when specified column select
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8339 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
56f582c847
commit
ba796d9bad
1 changed files with 16 additions and 4 deletions
|
|
@ -707,8 +707,14 @@
|
|||
{
|
||||
$columns = array();
|
||||
foreach($output->arg_columns as $col){
|
||||
if(strpos($col,'[')===false && strpos($col,' ')==false) $columns[] = '['.$col.']';
|
||||
else $columns[] = $col;
|
||||
unset($tmpCol);
|
||||
$tmpCol = explode('.', $col);
|
||||
if(isset($tmpCol[1])) $col = $tmpCol[1];
|
||||
|
||||
if(strpos($col,'[')===false && strpos($col,' ')==false) $col = '['.$col.']';
|
||||
if(isset($tmpCol[1])) $col = $tmpCol[0].'.'.$col;
|
||||
|
||||
$columns[] = $col;
|
||||
}
|
||||
|
||||
$columns = join(',',$columns);
|
||||
|
|
@ -826,8 +832,14 @@
|
|||
{
|
||||
$columns = array();
|
||||
foreach($output->arg_columns as $col){
|
||||
if(strpos($col,'[')===false && strpos($col,' ')==false) $columns[] = '['.$col.']';
|
||||
else $columns[] = $col;
|
||||
unset($tmpCol);
|
||||
$tmpCol = explode('.', $col);
|
||||
if(isset($tmpCol[1])) $col = $tmpCol[1];
|
||||
|
||||
if(strpos($col,'[')===false && strpos($col,' ')==false) $col = '['.$col.']';
|
||||
if(isset($tmpCol[1])) $col = $tmpCol[0].'.'.$col;
|
||||
|
||||
$columns[] = $col;
|
||||
}
|
||||
|
||||
$columns = join(',',$columns);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue