사용자 코드 체크 및 정리

This commit is contained in:
chicpro
2014-03-26 17:14:30 +09:00
parent e61c402067
commit 1c9f0f6018
19 changed files with 65 additions and 51 deletions

View File

@ -355,7 +355,7 @@ if ($w == '') {
$subject = "";
if (isset($write['wr_subject'])) {
$subject = preg_replace("/\"/", """, get_text(cut_str($write['wr_subject'], 255), 0));
$subject = str_replace("\"", """, get_text(cut_str($write['wr_subject'], 255), 0));
}
$content = '';
@ -365,7 +365,7 @@ if ($w == '') {
if (!strstr($write['wr_option'], 'html')) {
$content = "\n\n\n > "
."\n > "
."\n > ".preg_replace("/\n/", "\n> ", get_text($write['wr_content'], 0))
."\n > ".str_replace("\n", "\n> ", get_text($write['wr_content'], 0))
."\n > "
."\n > ";