Merge pull request #270 from Diftraku/master

Fix PHP errors about Strict Standards
This commit is contained in:
Shish 2012-12-31 13:08:58 -08:00
commit 17cd89455d
2 changed files with 5 additions and 2 deletions

View file

@ -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");

View file

@ -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);