Merge pull request #270 from Diftraku/master
Fix PHP errors about Strict Standards
This commit is contained in:
		
						commit
						17cd89455d
					
				| @ -394,9 +394,12 @@ 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"); | ||||
| 		$page->add_block(new Block("Error", $errMessage, "main", 10)); | ||||
|  | ||||
| @ -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); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user