Skip to content

Commit

Permalink
исправлена ошибка в ф-и getOrderEmail()
Browse files Browse the repository at this point in the history
  • Loading branch information
Ambaryan authored Nov 17, 2017
1 parent e853f4d commit 3e36e1c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/modules/komtetkassa/komtetkassa.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,7 @@ private function getOrderEmail($orderID)
$result = DB::query_result("
SELECT value FROM {shop_order_param_element} AS e
INNER JOIN {shop_order_param} AS p ON p.id=e.param_id AND p.type='email'
WHERE e.element_id=%d
", $order["id"]);
WHERE e.element_id=%d ", $orderID);
return $result ? $result : '';
}

Expand Down

0 comments on commit 3e36e1c

Please sign in to comment.