aboutsummaryrefslogtreecommitdiff
path: root/views/profile/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/profile/index.php')
-rw-r--r--views/profile/index.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/views/profile/index.php b/views/profile/index.php
index 3e79d71..54da307 100644
--- a/views/profile/index.php
+++ b/views/profile/index.php
@@ -8,9 +8,9 @@
<?php if ($user !== null): ?>
<section>
- <?php echo $user->Username ?>
- <?php echo $user->Role ?>
+ <?= $user->Username ?>
+ <?= $user->Role ?>
</section>
<?php else: ?>
- <h2>User "<?php echo $_GET["user"] ?>" doesn't exist!</h2>
+ <h2>User "<?= $_GET["user"] ?>" doesn't exist!</h2>
<?php endif; ?>