Skip to content

Commit

Permalink
Wallet: statByNames changed from ""%like%" to "like%" (extra tea was …
Browse files Browse the repository at this point in the history
…counted)
  • Loading branch information
boryashkin committed Feb 6, 2017
1 parent 3c479cb commit 9d3d838
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/wallet/models/OperationQuery.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public function getStatByNames(array $names)
$i = 1;
foreach ($names as $column => $name) {
$bindParams[":col{$i}"] = $column;
$bindParams[":val{$i}"] = '%' . $name . '%';
$bindParams[":val{$i}"] = $name . '%';
$i++;
}

Expand Down

0 comments on commit 9d3d838

Please sign in to comment.