projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4be38f8
)
DataObjects/Core_templatestr.php
author
leon
<leon@roojs.com>
Wed, 2 Aug 2023 07:18:46 +0000
(15:18 +0800)
committer
leon
<leon@roojs.com>
Wed, 2 Aug 2023 07:18:46 +0000
(15:18 +0800)
DataObjects/Core_templatestr.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_templatestr.php
b/DataObjects/Core_templatestr.php
index
81c6f94
..
6b71f92
100644
(file)
--- a/
DataObjects/Core_templatestr.php
+++ b/
DataObjects/Core_templatestr.php
@@
-762,7
+762,6
@@
class Pman_Core_DataObjects_Core_templatestr extends DB_DataObject
$ret = array();
- // avoid duplicate (same src_id_mdsum, same on_table, same on_col, but different on_id)
foreach($ar as $v) {
if(empty($v['on_table']) || empty($v['on_id']) || empty($v['on_col'])) {
$ret[] = $v;
@@
-770,6
+769,7
@@
class Pman_Core_DataObjects_Core_templatestr extends DB_DataObject
}
// translations for table columns
+ // avoid duplicate (same src_id_mdsum, same on_table, same on_col, but different on_id)
$key = $v['on_table'] . ':' . $v['on_col'] . ':' . $v['src_id_mdsum'];