From cfcdea0c62f97103ae993a07252d19e4360fd73d Mon Sep 17 00:00:00 2001 From: leon Date: Thu, 3 Aug 2023 13:31:21 +0800 Subject: [PATCH] DataObjects/Core_templatestr.php --- DataObjects/Core_templatestr.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/DataObjects/Core_templatestr.php b/DataObjects/Core_templatestr.php index 34d4d8d7..7a21ef35 100644 --- a/DataObjects/Core_templatestr.php +++ b/DataObjects/Core_templatestr.php @@ -182,10 +182,7 @@ class Pman_Core_DataObjects_Core_templatestr extends DB_DataObject return; } - $tables = array(); - foreach($ff['DataObjects_Core_templatestr']['tables'] as $table => $cols) { - $tables[] - } + $tables = $ff['DataObjects_Core_templatestr']['tables']; $cts = DB_DataObject::factory($this->tableName()); $cts->whereAdd('on_table != ""'); -- 2.39.2