GX-Bug #55815 » eKomiFix.patch
src/system/classes/external/ekomi/EkomiManager.inc.php (date 1521626955000) | ||
---|---|---|
266 | 266 |
ekomi_order_information e, |
267 | 267 |
orders o |
268 | 268 |
WHERE |
269 |
e.date_sent = '0000-00-00 00:00:00' AND
|
|
269 |
e.date_sent = '1000-01-01 00:00:00' AND
|
|
270 | 270 |
e.orders_id = o.orders_id " |
271 | 271 |
. $t_delay_sql |
272 | 272 |
. $t_orders_id_sql; |
... | ... | |
325 | 325 |
$t_sql = "SELECT orders_id |
326 | 326 |
FROM ekomi_order_information |
327 | 327 |
WHERE |
328 |
date_sent != '0000-00-00 00:00:00' AND
|
|
328 |
date_sent != '1000-01-01 00:00:00' AND
|
|
329 | 329 |
orders_id = '" . $c_orders_id . "'"; |
330 | 330 |
$t_result = xtc_db_query($t_sql); |
331 | 331 |
if(xtc_db_num_rows($t_result) == 1) |