Project

General

Profile

« Previous | Next » 

Revision 40

Added by stefan about 19 years ago

Change addslashes,stripslashes to (wb class) method calls add_slashes,strip_slashes

View differences:

comment_page.php
35 35
	// Print comments page
36 36
	$vars = array('[POST_TITLE]', '[ACTION_URL]');
37 37
	$values = array(POST_TITLE, WB_URL.'/modules/news/submit_comment.php?page_id='.PAGE_ID.'&section_id='.SECTION_ID.'&post_id='.POST_ID);
38
	echo str_replace($vars, $values, $this->stripslashes($settings['comments_page']));
38
	echo str_replace($vars, $values, $this->strip_slashes($settings['comments_page']));
39 39
}
40 40

  
41 41
?>

Also available in: Unified diff