Skip to content

Commit

Permalink
repair prepareColumnList
Browse files Browse the repository at this point in the history
  • Loading branch information
krzysztofzylka committed Jan 12, 2023
1 parent 0cb6180 commit e61795c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Table.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ public function prepareColumnList(bool $asString = true) : array|string {
$columnListString = [];

foreach ($columnList as $column) {
$columnListString[] = '`' . $this->getName() . '`.`' . $column['field'] . '` as `' . $this->getName() . '.' . $column['field'] . '`';
$columnListString[] = '`' . $this->getName() . '`.`' . $column['Field'] . '` as `' . $this->getName() . '.' . $column['Field'] . '`';
}

if ($asString) {
Expand Down

0 comments on commit e61795c

Please sign in to comment.