Changelog & little changes for #592

This commit is contained in:
Bernd Bestel
2020-03-06 20:46:27 +01:00
parent b0ddc026f8
commit e2bb3a7d00
2 changed files with 4 additions and 1 deletions

View File

@@ -25,7 +25,7 @@ class ChoresService extends BaseService
public function GetCurrent()
{
$sql = 'SELECT chores_current.*, chores.name from chores_current join chores on chores_current.chore_id = chores.id';
$sql = 'SELECT chores_current.*, chores.name AS chore_name from chores_current join chores on chores_current.chore_id = chores.id';
return $this->getDatabaseService()->ExecuteDbQuery($sql)->fetchAll(\PDO::FETCH_OBJ);
}