summaryrefslogtreecommitdiff
path: root/templates/config_index.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/config_index.php')
-rw-r--r--templates/config_index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/config_index.php b/templates/config_index.php
index 72edc4ad..f18078c1 100644
--- a/templates/config_index.php
+++ b/templates/config_index.php
@@ -51,9 +51,9 @@
<ul>
<li>
<strong><?= t('My default project:') ?> </strong>
- <?= isset($user['default_project_id']) ? $projects[$user['default_project_id']] : t('None') ?>,
+ <?= (isset($user['default_project_id']) && isset($projects[$user['default_project_id']])) ? $projects[$user['default_project_id']] : t('None') ?>,
<a href="?controller=user&amp;action=edit&amp;user_id=<?= $user['id'] ?>"><?= t('edit') ?></a>
</li>
</ul>
</section>
-</section> \ No newline at end of file
+</section>