projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4e778d
)
DataObjects/Core_template.php
author
Alan Knowles
<alan@roojs.com>
Fri, 4 Dec 2020 04:31:04 +0000
(12:31 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 4 Dec 2020 04:31:04 +0000
(12:31 +0800)
DataObjects/Core_template.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_template.php
b/DataObjects/Core_template.php
index
be5996e
..
8155a21
100644
(file)
--- a/
DataObjects/Core_template.php
+++ b/
DataObjects/Core_template.php
@@
-461,10
+461,11
@@
WHERE (
$ts = DB_DataObject::Factory('core_templatestr');
$ts->autoJoin();
+ $ts->selectAdd('join_src_id_id.txt as src_id_txt, core_templatestr.txt as txt');
$ts->lang = $lang;
$ts->template_id = $d->id;
- $
ts->fetchAll(
);
-
+ $
words = $ts->fetchAll('src_id_txt', 'txt'
);
+ print_R($words);
exit;
if (!file_exists($fdir)) {
mkdir($fdir, 0600, true);