projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
e39d2ef
)
DataObjects/I18n.php
author
Alan Knowles
<alan@roojs.com>
Mon, 15 Apr 2019 06:38:49 +0000
(14:38 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 15 Apr 2019 06:38:49 +0000
(14:38 +0800)
DataObjects/I18n.php
patch
|
blob
|
history
diff --git
a/DataObjects/I18n.php
b/DataObjects/I18n.php
index
01727ea
..
79f1b44
100644
(file)
--- a/
DataObjects/I18n.php
+++ b/
DataObjects/I18n.php
@@
-132,12
+132,13
@@
class Pman_Core_DataObjects_I18n extends DB_DataObject
");
}
if (!empty($q['_as_code_and_title'])) {
+ $tn = $this->tableName();
+
$this->selectAdd();
$this->selectAdd("
{$tn}.lval as title,
{$tn}.lkey as code
");
- $tn = $this->tableName();
if (!empty($q['_title'])) {
$this->whereAdd("{$tn}.lval like '{$this->escape($_REQUEST['_title'])}%'");
}