aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/actor_profile.php
diff options
context:
space:
mode:
authorwinter2024-12-24 15:32:56 +0000
committerwinter2024-12-24 15:32:56 +0000
commitd5a57276eb27e215dd0b1bd5eb67ac26acc9575b (patch)
tree0cb3a14fa9a82d2438a7c12838f04ea12e02a9fa /templates/actor_profile.php
parent01b7c47c68b8b3c5a9fd9137b067b34b566b951d (diff)
more stuff and things
Diffstat (limited to 'templates/actor_profile.php')
-rw-r--r--templates/actor_profile.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/templates/actor_profile.php b/templates/actor_profile.php
index 0d99d05..f721fc8 100644
--- a/templates/actor_profile.php
+++ b/templates/actor_profile.php
@@ -13,5 +13,9 @@
<?php endif; ?>
</div>
</div>
- <p class="bio"><?= $actor->bio ?></p>
+ <?php if (isset($actor->bio) && $actor->bio != '') { ?>
+ <p class="bio"><?= $actor->bio ?></p>
+ <?php } else {
+ call_template('placeholder_text', ['message' => "This user hasn't written a bio yet."]);
+ } ?>
</div> \ No newline at end of file