projects
/
Pman.Admin
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4dc499f
)
Import/Core_templatestr.php
author
leon
<leon@roojs.com>
Wed, 2 Aug 2023 08:24:10 +0000
(16:24 +0800)
committer
leon
<leon@roojs.com>
Wed, 2 Aug 2023 08:24:10 +0000
(16:24 +0800)
Import/Core_templatestr.php
patch
|
blob
|
history
diff --git
a/Import/Core_templatestr.php
b/Import/Core_templatestr.php
index
135c614
..
6e60b66
100644
(file)
--- a/
Import/Core_templatestr.php
+++ b/
Import/Core_templatestr.php
@@
-153,7
+153,8
@@
class Pman_Admin_Import_Core_templatestr extends Pman
$tr = DB_DataObject::Factory('core_templatestr');
$tr->autoJoin();
-
+
+ // update duplicate with same on_table, on_col and mdsum
// $tr->whereAdd("core_templatestr.on_id='{$tr->escape($r['table id'])}'");
$tr->whereAdd("core_templatestr.on_table='{$tr->escape($r['table'])}'");
$tr->whereAdd("core_templatestr.on_col='{$tr->escape($r['column'])}'");