Skip to content

Commit

Permalink
Added missing limit
Browse files Browse the repository at this point in the history
  • Loading branch information
SilverFire committed Aug 27, 2019
1 parent 840014b commit 635cae6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/forms/BillImportForm.php
Expand Up @@ -150,7 +150,7 @@ protected function splitLine($line)
*/
private function resolveClients($logins)
{
$clients = Client::find()->where(['logins' => $logins])->all();
$clients = Client::find()->where(['logins' => $logins])->limit(-1)->all();
$this->clientsMap = array_combine(ArrayHelper::getColumn($clients, 'login'),
ArrayHelper::getColumn($clients, 'id'));
}
Expand Down

0 comments on commit 635cae6

Please sign in to comment.