Skip to content

Wallos: Open-source, self-hostable personal subscription tracker. Visualize your recurring expenses, manage your budget, and save money.

fix: export.php csv header typo (#499)

cloning54806e96c5d4b0c7
diff --git a/endpoints/subscriptions/export.php b/endpoints/subscriptions/export.php
index c72f87a..db76d82 100644
--- a/endpoints/subscriptions/export.php
+++ b/endpoints/subscriptions/export.php
@@ -21,7 +21,7 @@ while ($row = $result->fetchArray(SQLITE3_ASSOC)) {
$subscriptionDetails = array(
'Name' => str_replace(',', ' ', $row['name']),
'Next Payment' => $row['next_payment'],
- 'Categpry' => str_replace(',', ' ', $categories[$row['category_id']]['name']),
+ 'Category' => str_replace(',', ' ', $categories[$row['category_id']]['name']),
'Payment Method' => str_replace(',', ' ', $payment_methods[$row['payment_method_id']]['name']),
'Paid By' => str_replace(',', ' ', $members[$row['payer_user_id']]['name']),
'Price' => $currencies[$row['currency_id']]['symbol'] . $row['price'],
@@ -41,4 +41,4 @@ die(json_encode([
]));
-?>
\ No newline at end of file
+?>