* fix bug #30506.
This commit is contained in:
@@ -698,6 +698,7 @@ class reportModel extends model
|
||||
{
|
||||
$effort = $this->dao->select('count(*) as count, sum(consumed) as consumed')->from(TABLE_EFFORT)
|
||||
->where('LEFT(date, 4)')->eq($year)
|
||||
->andWhere('deleted')->eq(0)
|
||||
->beginIF($accounts)->andWhere('account')->in($accounts)->fi()
|
||||
->fetch();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user