diff --git a/ext/relationships/theme.php b/ext/relationships/theme.php
index 78b78f89d..c3cacf455 100644
--- a/ext/relationships/theme.php
+++ b/ext/relationships/theme.php
@@ -40,7 +40,7 @@ public function get_parent_editor_html(Image $image): HTMLElement
return SHM_POST_INFO(
"Parent",
!$user->is_anonymous(),
- $image->parent_id ?: "None",
+ strval($image->parent_id) ?: "None",
INPUT(["type"=>"number", "name"=>"tag_edit__parent", "value"=>$image->parent_id])
);
}
diff --git a/themes/danbooru2/view.theme.php b/themes/danbooru2/view.theme.php
index 4a68b7a37..130eb81d0 100644
--- a/themes/danbooru2/view.theme.php
+++ b/themes/danbooru2/view.theme.php
@@ -72,7 +72,6 @@ protected function build_navigation(Image $image): string
-
";