Fix PHP legacy array syntax

This commit is contained in:
thisgun
2026-05-26 08:10:57 +00:00
parent c04591e24a
commit d914a7843d
3 changed files with 9 additions and 9 deletions
+2 -2
View File
@@ -152,7 +152,7 @@ if ($w == '') {
alert('이미 존재하는 이메일입니다.\\nID : ' . $row['mb_id'] . '\\n이름 : ' . $row['mb_name'] . '\\n닉네임 : ' . $row['mb_nick'] . '\\n메일 : ' . $row['mb_email']);
}
$agree_items = [];
$agree_items = array();
// 마케팅 목적의 개인정보 수집 및 이용
if ($mb_marketing_agree == 1) {
$sql_common .= " , mb_marketing_date = '".G5_TIME_YMDHIS."' ";
@@ -235,7 +235,7 @@ if ($w == '') {
// 현재 데이터 조회
$row = sql_fetch("select * from {$g5['member_table']} where mb_id = '{$mb_id}' ");
$agree_items = [];
$agree_items = array();
// 마케팅 목적의 개인정보 수집 및 이용
$sql_marketing_date = "";
+3 -3
View File
@@ -275,7 +275,7 @@ if ($w == '') {
if (!$config['cf_use_email_certify'])
$sql .= " , mb_email_certify = '".G5_TIME_YMDHIS."' ";
$agree_items = [];
$agree_items = array();
// 마케팅 목적의 개인정보 수집 및 이용
if ($mb_marketing_agree == 1) {
$sql .= " , mb_marketing_date = '".G5_TIME_YMDHIS."' ";
@@ -396,7 +396,7 @@ if ($w == '') {
if ($old_email != $mb_email && $config['cf_use_email_certify'])
$sql_email_certify = " , mb_email_certify = '' ";
$agree_items = [];
$agree_items = array();
// 마케팅 목적의 개인정보 수집 및 이용
$sql_marketing_date = "";
@@ -713,4 +713,4 @@ if ($w == '') {
</body>
</html>';
}
}
}
+4 -4
View File
@@ -339,10 +339,10 @@ gif, jpg, png파일만 가능하며 용량 <?php echo number_format($config['cf_
<!-- (선택) 개인정보 제3자 제공 동의 -->
<!-- SMS 사용시에만 -->
<?php
$configKeys = ['cf_sms_use'];
$companies = ['icode' => '아이코드'];
$configKeys = array('cf_sms_use');
$companies = array('icode' => '아이코드');
$usedCompanies = [];
$usedCompanies = array();
foreach ($configKeys as $key) {
if (!empty($config[$key]) && isset($companies[$config[$key]])) {
$usedCompanies[] = $companies[$config[$key]];
@@ -625,4 +625,4 @@ document.addEventListener('DOMContentLoaded', function () {
</script>
<!-- } 회원정보 입력/수정 끝 -->
<!-- } 회원정보 입력/수정 끝 -->