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

index 4df13b4..b23953d 100644 (file)
@@ -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 = {$this->country}) AS country_name");
+        $this->selectAs("(SELECT lval FROM i18n WHERE lkey = {$this->country}) AS country_name");
        
     }