diff options
Diffstat (limited to 'templates/actor_profile.php')
| -rw-r--r-- | templates/actor_profile.php | 6 |
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 |
