PHP 8.3 문법에서 경고 나오는 문법 수정

This commit is contained in:
jisangs committed 2026-10-22 15:33:06 +09:00
1 parent 90472ffff3
commit c51c95f8c8
2 files changed
+7 -2

No files matched your search

+4 -2
View File
@@ -90,7 +90,8 @@ class MenuCollection extends DBMethodContainer
FROM app
WHERE AppType=? AND Status=1";
$stmt = $this->mysqli->prepare($query);
$stmt->bind_param("i", $this->getTypingAppType($appGroup, $language));
$appType = $this->getTypingAppType($appGroup, $language);
$stmt->bind_param("i", $appType);
$stmt->execute();
$stmt->bind_result($appID, $appName, $koreanName);
@@ -159,7 +160,8 @@ class MenuCollection extends DBMethodContainer
FROM app AS A
INNER JOIN active_app AS AA ON A.AppID = AA.AppID AND A.AppType=? AND AA.MaestroID=?";
$stmt = $this->mysqli->prepare($query);
$stmt->bind_param("ii", $this->getTypingAppType($appGroup, $language), $maestroID);
$appType = $this->getTypingAppType($appGroup, $language);
$stmt->bind_param("ii", $appType, $maestroID);
$stmt->execute();
$stmt->bind_result($appID);