From f914fbb96f5f19fce551a4303d4762bc35fc74af Mon Sep 17 00:00:00 2001 From: johnnyq Date: Wed, 27 Sep 2023 12:15:12 -0400 Subject: [PATCH] Fix current_version var in cron.php when telemetry is configured this was caused by the cron not know what its working directory was added change to current working directory --- cron.php | 3 +++ products.php | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/cron.php b/cron.php index e1245154..758be34f 100644 --- a/cron.php +++ b/cron.php @@ -1,5 +1,8 @@ $product_description"; } - $product_price = number_format(floatval($row['product_price']),2); + $product_price = floatval($row['product_price']); $product_currency_code = nullable_htmlentities($row['product_currency_code']); $product_created_at = nullable_htmlentities($row['product_created_at']); $category_id = intval($row['category_id']);