diff --git a/packages/Photos/src/site/components/com_photos/templates/stories/photo_comment.php b/packages/Photos/src/site/components/com_photos/templates/stories/photo_comment.php
index <HASH>..<HASH> 100644
--- a/packages/Photos/src/site/components/com_photos/templates/stories/photo_comment.php
+++ b/packages/Photos/src/site/components/com_photos/templates/stories/photo_comment.php
@@ -13,7 +13,7 @@
     	</a>
     </h4>
 	<?php endif; ?>
-	<?php $caption = htmlspecialchars($photo->title, ENT_QUOTES); ?>
+	<?php $caption = htmlspecialchars($object->title, ENT_QUOTES); ?>
 	<a data-rel="story-<?= $story->id ?>" data-trigger="MediaViewer" href="<?= @route($object->getPortraitURL('original')) ?>" title="<?= $caption ?>">
 		<img class="entity-portrait-medium" src="<?= $object->getPortraitURL('medium') ?>" />
 	</a>
Fixed a bug: $photo changed to $object