Skip to content

Commit

Permalink
fix doesn't correct column domain
Browse files Browse the repository at this point in the history
  • Loading branch information
KorsaR-ZN committed May 29, 2015
1 parent 7813230 commit 41201a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
2.0.3
- Added support for Behaviors in Phalcon\Mvc\Collection
- Added SoftDelete and Timestampable behaviors to Collections
- Fix doesn't correct column domain in `Phalcon\Db\Dialect::select()`

2.0.2
- Added `stats()` methods to Beanstalk
Expand Down
2 changes: 1 addition & 1 deletion phalcon/db/dialect.zep
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 41201a4

Please sign in to comment.