fixed Undefined variable

This commit is contained in:
kjh
2022-05-24 08:48:51 +00:00
parent b591c91c99
commit 3aee9326d7
8 changed files with 24 additions and 15 deletions

View File

@ -49,13 +49,15 @@ include_once(G5_PATH.'/head.sub.php');
//if ($board['bo_content_head']) { echo html_purifier(stripslashes($board['bo_content_head'])); }
/* 비밀글의 제목을 가져옴 지운아빠 2013-01-29 */
$sql = " select wr_subject from {$write_table}
where wr_num = '{$write['wr_num']}'
and wr_reply = ''
and wr_is_comment = 0 ";
$row = sql_fetch($sql);
if (isset($write['wr_num'])) {
$sql = " select wr_subject from {$write_table}
where wr_num = '{$write['wr_num']}'
and wr_reply = ''
and wr_is_comment = 0 ";
$row = sql_fetch($sql);
$g5['title'] = get_text($row['wr_subject']);
$g5['title'] = get_text((string)$row['wr_subject']);
}
include_once($member_skin_path.'/password.skin.php');