diff --git a/adm/board_copy_update.php b/adm/board_copy_update.php index 95df487a4..fede12b88 100644 --- a/adm/board_copy_update.php +++ b/adm/board_copy_update.php @@ -2,6 +2,8 @@ $sub_menu = '300100'; include_once('./_common.php'); +check_demo(); + auth_check($auth[$sub_menu], 'w'); check_admin_token(); diff --git a/lib/latest.lib.php b/lib/latest.lib.php index 9e9372774..55dd826db 100644 --- a/lib/latest.lib.php +++ b/lib/latest.lib.php @@ -66,7 +66,7 @@ function latest($skin_dir='', $bo_table, $rows=10, $subject_len=40, $cache_time= if($cache_fwrite) { $handle = fopen($cache_file, 'w'); - $cache_content = ""; + $cache_content = ""; fwrite($handle, $cache_content); fclose($handle); }