Another missing id
This commit is contained in:
parent
984b85f60c
commit
f6b6c3d335
1 changed files with 2 additions and 2 deletions
|
@ -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"));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue