diff --git a/bbs/register_form.php b/bbs/register_form.php
index e6583e111..39a4a5aaa 100644
--- a/bbs/register_form.php
+++ b/bbs/register_form.php
@@ -118,6 +118,9 @@ $req_nick = !isset($member['mb_nick_date']) || (isset($member['mb_nick_date']) &
$required = ($w=='') ? 'required' : '';
$readonly = ($w=='u') ? 'readonly' : '';
+$agree = preg_replace('#[^0-9]#', '', $agree);
+$agree2 = preg_replace('#[^0-9]#', '', $agree2);
+
// add_javascript('js 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
if ($config['cf_use_addr'])
add_javascript(G5_POSTCODE_JS, 0); //다음 주소 js
diff --git a/lib/common.lib.php b/lib/common.lib.php
index c7f842586..9ffc825b1 100644
--- a/lib/common.lib.php
+++ b/lib/common.lib.php
@@ -1309,7 +1309,7 @@ function view_file_link($file, $width, $height, $content='')
if (preg_match("/\.({$config['cf_image_extension']})$/i", $file)) {
$img = '';
- $img .= '
';
+ $img .= '
';
$img .= '';
return $img;
diff --git a/mobile/skin/board/gallery/list.skin.php b/mobile/skin/board/gallery/list.skin.php
index 2131fc080..20f50eada 100644
--- a/mobile/skin/board/gallery/list.skin.php
+++ b/mobile/skin/board/gallery/list.skin.php
@@ -180,7 +180,7 @@ $(window).on("load", function() {
-
+