From ab6d1d93c4e7135491e24a71279487bdb52b78e2 Mon Sep 17 00:00:00 2001 From: Stanislav Kiryukhin Date: Fri, 29 May 2015 11:29:31 +0300 Subject: [PATCH] fix doesn't correct column domain --- CHANGELOG.md | 1 + phalcon/db/dialect.zep | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2f8e88047d6..a87d665ac1c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ - Now you can define if a virtual foreign key must ignore null values or not - Fixed bug that added two ? in Mvc\Url::get when using query parameters (#10421) - Now string attributes in models can be marked to allow empty string values (#440) +- Fix doesn't correct column domain in `Phalcon\Db\Dialect::select()` see [#10439](https://github.com/phalcon/cphalcon/pull/10439) # 2.0.2 (2015-05-26) - Added `stats()` methods to Beanstalk diff --git a/phalcon/db/dialect.zep b/phalcon/db/dialect.zep index 59328eaecda..71acb761c8e 100644 --- a/phalcon/db/dialect.zep +++ b/phalcon/db/dialect.zep @@ -495,7 +495,7 @@ abstract class Dialect implements DialectInterface "type": "all" ]; - if (fetch domain, expression["balias"] || fetch domain, expression["domain"]) && domain != "" { + if (fetch domain, expression["column"] || fetch domain, expression["domain"]) && domain != "" { let objectExpression["domain"] = domain; }