DataObjects/Office.php
authorChris <chris@roojs.com>
Thu, 3 Jan 2013 08:37:40 +0000 (16:37 +0800)
committerChris <chris@roojs.com>
Thu, 3 Jan 2013 08:37:40 +0000 (16:37 +0800)
DataObjects/Office.php

index 19ff847..2cb6d65 100644 (file)
@@ -37,7 +37,7 @@ class Pman_Core_DataObjects_Office extends DB_DataObject
             LEFT JOIN
                 i18n as join_country
             ON
-                join_country.lkey = Office.country
+                (join_country.lkey = Office.country)
         ';
         $item = DB_DataObject::Factory('I18n');
         $this->selectAs($item, 'country_id_%s', 'join_country');