From: Chris Date: Thu, 3 Jan 2013 08:48:52 +0000 (+0800) Subject: DataObjects/Office.php X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=01b420f730759cc2bb59e25e55f8f9c96ce4039b;p=Pman.Core DataObjects/Office.php --- diff --git a/DataObjects/Office.php b/DataObjects/Office.php index 5d10fc56..020ed59b 100644 --- a/DataObjects/Office.php +++ b/DataObjects/Office.php @@ -29,7 +29,7 @@ class Pman_Core_DataObjects_Office extends DB_DataObject //DB_DataObject::debugLevel(1); //$this->joinAddCountry(); //print_r($au); - $this->selectAdd("(SELECT lval FROM i18n WHERE lkey = Office.country AND ltype = 'c' AND inlang = {$au->lang}) AS country_name"); + $this->selectAdd("(SELECT lval FROM i18n WHERE lkey = Office.country AND ltype = 'c' AND inlang = '{$au->lang}') AS country_name"); }