fix buildOrdersById

This commit is contained in:
Dmitry Mamontov 2015-11-26 04:37:39 -05:00
parent 87d972b142
commit 6d27598157

View file

@ -43,8 +43,8 @@ class OrdersBuilder extends Builder
$query = $this->rule->getSQL('orders_uid');
$handler = $this->rule->getHandler('OrdersHandler');
$this->sql = $this->container->db->prepare($query);
$this->sql->bindParam(':orderIds', $uids);
$uids = DataHelper::explodeUids($uidString);
$this->sql->bindParam(':orderIds', $uids);
return $this->build($handler);
}