summaryrefslogtreecommitdiff
path: root/app/Template/budget
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/budget')
-rw-r--r--app/Template/budget/index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Template/budget/index.php b/app/Template/budget/index.php
index 80153bbd..51ef3d87 100644
--- a/app/Template/budget/index.php
+++ b/app/Template/budget/index.php
@@ -6,8 +6,8 @@
<div id="budget-chart">
<div id="chart"
data-date-format="<?= e('%%Y-%%m-%%d') ?>"
- data-metrics='<?= json_encode($daily_budget) ?>'
- data-labels='<?= json_encode(array('in' => t('Budget line'), 'out' => t('Expenses'), 'left' => t('Remaining'), 'value' => t('Amount'), 'date' => t('Date'), 'type' => t('Type'))) ?>'></div>
+ data-metrics='<?= json_encode($daily_budget, JSON_HEX_APOS) ?>'
+ data-labels='<?= json_encode(array('in' => t('Budget line'), 'out' => t('Expenses'), 'left' => t('Remaining'), 'value' => t('Amount'), 'date' => t('Date'), 'type' => t('Type')), JSON_HEX_APOS) ?>'></div>
</div>
<hr/>
<table class="table-fixed table-stripped">