projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03f8736
)
DataObjects/Core_templatestr.php
author
leon
<leon@roojs.com>
Wed, 2 Aug 2023 05:05:21 +0000
(13:05 +0800)
committer
leon
<leon@roojs.com>
Wed, 2 Aug 2023 05:05:21 +0000
(13:05 +0800)
DataObjects/Core_templatestr.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_templatestr.php
b/DataObjects/Core_templatestr.php
index
91e24cf
..
c9524b9
100644
(file)
--- a/
DataObjects/Core_templatestr.php
+++ b/
DataObjects/Core_templatestr.php
@@
-742,8
+742,8
@@
class Pman_Core_DataObjects_Core_templatestr extends DB_DataObject
$ret = $this->toArray();
if(!empty($ret['on_table']) && !empty($ret['on_id']) && !empty($ret['on_col'])) {
- $ret['template_id_view_name'] = '
test view nam
e';
- $ret['template_id_template'] =
'test template'
;
+ $ret['template_id_view_name'] = '
databas
e';
+ $ret['template_id_template'] =
$ret['on_table'] . ':' . $ret['on_col']
;
}
return $ret;