Another missing id

This commit is contained in:
Laureano Passafaro 2021-02-09 03:44:37 -03:00 committed by Shish
parent 984b85f60c
commit f6b6c3d335

View File

@ -8,7 +8,7 @@ class RelationshipsTheme extends Themelet
if ($image->parent_id !== null) {
$a = "<a href='".make_link("post/view/".$image->parent_id)."'>parent post</a>";
$page->add_block(new Block(null, "This post belongs to a $a.", "main", 5, "ImageRelationships"));
$page->add_block(new Block(null, "This post belongs to a $a.", "main", 5, "ImageHasParent"));
}
if (bool_escape($image->has_children)) {
@ -21,7 +21,7 @@ class RelationshipsTheme extends Themelet
}
$html = rtrim($html, ", ").").";
$page->add_block(new Block(null, $html, "main", 6));
$page->add_block(new Block(null, $html, "main", 6, "ImageHasChildren"));
}
}