diff --git a/ext/pools/theme.php b/ext/pools/theme.php index 633cc8ad..d9c397c7 100644 --- a/ext/pools/theme.php +++ b/ext/pools/theme.php @@ -394,8 +394,11 @@ class PoolsTheme extends Themelet { /** * Display an error message to the user. */ - public function display_error(/*string*/ $errMessage) { + public function display_error(/*int*/ $code, /*string*/ $title, /*string*/ $message) { global $page; + + // Quick n' Dirty fix + $message = $code; $page->set_title("Error"); $page->set_heading("Error"); diff --git a/themes/danbooru/comment.theme.php b/themes/danbooru/comment.theme.php index fea07ba4..f9fcdfca 100644 --- a/themes/danbooru/comment.theme.php +++ b/themes/danbooru/comment.theme.php @@ -87,7 +87,7 @@ class CustomCommentListTheme extends CommentListTheme { } - protected function comment_to_html(Comment $comment, $trim=false) { + protected function comment_to_html($comment, $trim=false) { global $user; $tfe = new TextFormattingEvent($comment->comment);