From 8254f81faf4f4bd1c7757242194a84f25c7ad86e Mon Sep 17 00:00:00 2001 From: evgen-d Date: Wed, 26 Nov 2014 09:21:59 +0300 Subject: [PATCH] closes #8 --- Query.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Query.php b/Query.php index b73ff79..f974b3d 100644 --- a/Query.php +++ b/Query.php @@ -541,7 +541,7 @@ class Query extends Component implements QueryInterface */ protected function buildSelect($columns, &$params) { - if ($columns == null || empty($columns)) { + if ($columns === null || empty($columns)) { return 'RETURN ' . $this->from; }