From d3f0488138dfe9366f1303130f274055a063af81 Mon Sep 17 00:00:00 2001 From: ryuring Date: Wed, 18 Sep 2024 10:12:07 +0900 Subject: [PATCH] =?UTF-8?q?DB=E3=83=97=E3=83=AC=E3=83=95=E3=82=A3=E3=83=83?= =?UTF-8?q?=E3=82=AF=E3=82=B9=E4=BB=98=E3=81=8D=E3=81=AE=E7=92=B0=E5=A2=83?= =?UTF-8?q?=E3=81=AE=E5=A0=B4=E5=90=88=E3=80=81=E3=83=90=E3=83=83=E3=82=AF?= =?UTF-8?q?=E3=82=A2=E3=83=83=E3=83=97=E3=83=95=E3=82=A1=E3=82=A4=E3=83=AB?= =?UTF-8?q?=E3=81=8C=E6=AD=A3=E5=B8=B8=E3=81=AB=E7=94=9F=E6=88=90=E3=81=95?= =?UTF-8?q?=E3=82=8C=E3=81=AA=E3=81=84=E5=95=8F=E9=A1=8C=E3=82=92=E6=94=B9?= =?UTF-8?q?=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/baser-core/src/Service/UtilitiesService.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/baser-core/src/Service/UtilitiesService.php b/plugins/baser-core/src/Service/UtilitiesService.php index 6d81ac2c6d..e61a892324 100644 --- a/plugins/baser-core/src/Service/UtilitiesService.php +++ b/plugins/baser-core/src/Service/UtilitiesService.php @@ -12,6 +12,7 @@ namespace BaserCore\Service; use BaserCore\Error\BcException; +use BaserCore\Model\Table\AppTable; use BaserCore\Utility\BcContainerTrait; use BaserCore\Utility\BcFolder; use BaserCore\Utility\BcUtil; @@ -366,7 +367,7 @@ protected function _writeBackup($path, $plugin, $encoding) foreach($tables as $table) { $baredTable = preg_replace('/^' . $prefix . '/', '', $table); - if (!isset($tableList[$plugin]) || !in_array($baredTable, $tableList[$plugin])) continue; + if (!isset($tableList[$plugin]) || !in_array($table, $tableList[$plugin])) continue; if (!$dbService->writeSchema($baredTable, [ 'path' => $path, 'prefix' => $prefix