Website Summary Files Commits Branches @commit @diff @stats
path: root / views / profile / index.php
diff options
context:
space:
mode:
1 files changed, 3 insertions, 3 deletions
-rw-r--r--views/profile/index.php6
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; ?>