summaryrefslogtreecommitdiff
path: root/app/Template/gantt/project.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/gantt/project.php')
-rw-r--r--app/Template/gantt/project.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Template/gantt/project.php b/app/Template/gantt/project.php
index 0c545be8..ec45f7f6 100644
--- a/app/Template/gantt/project.php
+++ b/app/Template/gantt/project.php
@@ -35,7 +35,7 @@
<?php if (! empty($tasks)): ?>
<div
id="gantt-chart"
- data-tasks='<?= json_encode($tasks) ?>'
+ data-tasks='<?= json_encode($tasks, JSON_HEX_APOS) ?>'
data-save-url="<?= $this->url->href('gantt', 'saveDate', array('project_id' => $project['id'])) ?>"
data-label-start-date="<?= t('Start date:') ?>"
data-label-end-date="<?= t('Due date:') ?>"