mirror of
https://github.com/retailcrm/legacy.git
synced 2024-11-25 06:46:03 +03:00
fix explodeUids
This commit is contained in:
parent
d19f9f7699
commit
56ec1a7247
@ -41,11 +41,11 @@ class CustomersBuilder extends Builder
|
||||
*/
|
||||
public function buildCustomersById($uidString)
|
||||
{
|
||||
$uids = DataHelper::explodeUids($uidString);
|
||||
$query = $this->rule->getSQL('customers_uid');
|
||||
$handler = $this->rule->getHandler('CustomersHandler');
|
||||
$this->sql = $this->container->db->prepare($query);
|
||||
$this->sql->bindParam(':orderIds', $uids);
|
||||
$uids = DataHelper::explodeUids($uidString);
|
||||
|
||||
return $this->build($handler);
|
||||
}
|
||||
@ -74,11 +74,11 @@ class CustomersBuilder extends Builder
|
||||
*/
|
||||
public function buildCustomersUpdateById($uidString)
|
||||
{
|
||||
$uids = DataHelper::explodeUids($uidString);
|
||||
$query = $this->rule->getSQL('customers_update_uid');
|
||||
$handler = $this->rule->getHandler('CustomersHandler');
|
||||
$this->sql = $this->container->db->prepare($query);
|
||||
$this->sql->bindParam(':orderIds', $uids);
|
||||
$uids = DataHelper::explodeUids($uidString);
|
||||
|
||||
return $this->build($handler);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user