return fix

This commit is contained in:
Evgeny 2014-11-18 16:21:23 +03:00
parent b71936192a
commit 04dd977843

View File

@ -551,11 +551,7 @@ class Query extends Component implements QueryInterface
$names = '';
foreach ($columns as $name => $column) {
if (is_int($name)) {
$names .= $column . ', ';
} else {
$names .= "\"$name\": $this->from.$column, ";
}
$names .= "\"$name\": $this->from.$column, ";
}
return 'RETURN {' . trim($names, ', ') . '}';