Another missing id
This commit is contained in:
parent
984b85f60c
commit
f6b6c3d335
@ -8,7 +8,7 @@ class RelationshipsTheme extends Themelet
|
|||||||
|
|
||||||
if ($image->parent_id !== null) {
|
if ($image->parent_id !== null) {
|
||||||
$a = "<a href='".make_link("post/view/".$image->parent_id)."'>parent post</a>";
|
$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)) {
|
if (bool_escape($image->has_children)) {
|
||||||
@ -21,7 +21,7 @@ class RelationshipsTheme extends Themelet
|
|||||||
}
|
}
|
||||||
$html = rtrim($html, ", ").").";
|
$html = rtrim($html, ", ").").";
|
||||||
|
|
||||||
$page->add_block(new Block(null, $html, "main", 6));
|
$page->add_block(new Block(null, $html, "main", 6, "ImageHasChildren"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user