projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a64c008
)
DataObjects/Office.php
author
Chris
<chris@roojs.com>
Thu, 3 Jan 2013 08:45:30 +0000
(16:45 +0800)
committer
Chris
<chris@roojs.com>
Thu, 3 Jan 2013 08:45:30 +0000
(16:45 +0800)
DataObjects/Office.php
patch
|
blob
|
history
diff --git
a/DataObjects/Office.php
b/DataObjects/Office.php
index
a2a52cd
..
7835f67
100644
(file)
--- a/
DataObjects/Office.php
+++ b/
DataObjects/Office.php
@@
-28,7
+28,7
@@
class Pman_Core_DataObjects_Office extends DB_DataObject
{
//DB_DataObject::debugLevel(1);
//$this->joinAddCountry();
- $this->selectAdd("(SELECT lval FROM i18n WHERE lkey = Office.country) AS country_name");
+ $this->selectAdd("(SELECT lval FROM i18n WHERE lkey = Office.country
AND ltype = 'c'
) AS country_name");
}