From: leon Date: Thu, 3 Aug 2023 05:31:21 +0000 (+0800) Subject: DataObjects/Core_templatestr.php X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=cfcdea0c62f97103ae993a07252d19e4360fd73d;p=Pman.Core DataObjects/Core_templatestr.php --- 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 != ""');