diff --git a/config.php b/config.php
index b5b39215b..18feabd73 100644
--- a/config.php
+++ b/config.php
@@ -5,8 +5,8 @@
********************/
define('G5_VERSION', '그누보드5');
-define('G5_GNUBOARD_VER', '5.4.2.2');
-define('G5_YOUNGCART_VER', '5.4.2.2');
+define('G5_GNUBOARD_VER', '5.4.2.3');
+define('G5_YOUNGCART_VER', '5.4.2.3');
// 이 상수가 정의되지 않으면 각각의 개별 페이지는 별도로 실행될 수 없음
define('_GNUBOARD_', true);
diff --git a/lib/common.lib.php b/lib/common.lib.php
index f1a1b7b97..c1a51006d 100644
--- a/lib/common.lib.php
+++ b/lib/common.lib.php
@@ -2594,7 +2594,7 @@ class html_process {
if(!trim($js[1]))
continue;
- $js[1] = preg_replace('#\.js([\'\"]?>)$#i', '.js?ver='.G5_JS_VER.'$1', $js[1]);
+ $js[1] = preg_replace('#\.js([\'\"]?>)<\/script>$#i', '.js?ver='.G5_JS_VER.'$1', $js[1]);
$javascript .= $php_eol.$js[1];
$php_eol = PHP_EOL;
diff --git a/lib/latest.lib.php b/lib/latest.lib.php
index da89910d1..f374ae899 100644
--- a/lib/latest.lib.php
+++ b/lib/latest.lib.php
@@ -31,7 +31,7 @@ function latest($skin_dir='', $bo_table, $rows=10, $subject_len=40, $cache_time=
}
}
- $caches = null;
+ $caches = false;
if(G5_USE_CACHE) {
$cache_file_name = "latest-{$bo_table}-{$skin_dir}-{$rows}-{$subject_len}-".g5_cache_secret_key();
diff --git a/theme/basic/group.php b/theme/basic/group.php
index 6a2fbb55c..5a7736c22 100644
--- a/theme/basic/group.php
+++ b/theme/basic/group.php
@@ -30,7 +30,7 @@ $sql .= " order by bo_order ";
$result = sql_query($sql);
for ($i=0; $row=sql_fetch_array($result); $i++) {
$lt_style = "";
- if ($i%2==1) $lt_style = "margin-left:2%";
+ if ($i%3 !== 0) $lt_style = "margin-left:2%";
else $lt_style = "";
?>