projects
/
Pman.Cms
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7205597
)
UpdateBjsTemplates.php
author
leon
<leon@roojs.com>
Thu, 3 Aug 2023 03:38:52 +0000
(11:38 +0800)
committer
leon
<leon@roojs.com>
Thu, 3 Aug 2023 03:38:52 +0000
(11:38 +0800)
UpdateBjsTemplates.php
patch
|
blob
|
history
diff --git
a/UpdateBjsTemplates.php
b/UpdateBjsTemplates.php
index
182a8fe
..
a223198
100644
(file)
--- a/
UpdateBjsTemplates.php
+++ b/
UpdateBjsTemplates.php
@@
-318,6
+318,10
@@
class Pman_Cms_UpdateBjsTemplates extends Pman_Admin_UpdateBjsTemplates
}
foreach($ff->Pman_Cms['DataObjects_Cms_templatestr']['tables'] as $table=>$cols){
+ $tableName = $table;
+ if(strpos($table, ',') !== false) {
+ $ar = explode(',' $table);
+ }
$t = DB_DataObject::factory($table);
foreach($t->fetchAll() as $d) {
$cts->onTableChange($this, $d, 'update');