Website Summary Files Commits Branches @commit @diff @stats
path: root / views / profile
diff options
context:
space:
mode:
Commitff740779b6d09e26416a348a22a7380b13068ac2 (patch)
Author
 Syndamia <kamen@syndamia.com>
2025-01-26 08:45:02 +0200
Committer
 Syndamia <kamen@syndamia.com>
2025-01-26 08:45:02 +0200
Filesf4cd3791ad6d5cbb5febe0c8f2c67f0b6093f947 /views/profile
nowayforward_human-ff740779b6d09e26416a348a22a7380b13068ac2.tar
nowayforward_human-ff740779b6d09e26416a348a22a7380b13068ac2.tar.gz
nowayforward_human-ff740779b6d09e26416a348a22a7380b13068ac2.zip
Parentf1246e8b009ce3cd3229225bf1d57237cad58ce0 (diff)
chore(views): Replace <?php echo with <?=
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; ?>