From 40e049c93ef745b7084b4d129d0a1a6801095c10 Mon Sep 17 00:00:00 2001 From: Alexander Demidov Date: Thu, 10 Oct 2013 15:28:41 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9A=D0=BE=D1=80=D1=80=D0=B5=D0=BA=D1=82?= =?UTF-8?q?=D0=B8=D1=80=D0=BE=D0=B2=D0=BA=D0=B0=20=D0=B2=20=D0=BC=D0=B5?= =?UTF-8?q?=D1=82=D0=BE=D0=B4=D0=B5=20SqlCriteria.select().?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- model/SqlCriteria.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model/SqlCriteria.php b/model/SqlCriteria.php index 58b26dc..8e1accf 100644 --- a/model/SqlCriteria.php +++ b/model/SqlCriteria.php @@ -115,7 +115,7 @@ class SqlCriteria public function select($fields) { $fields = explode(',', $fields); - $this->select = $this->select + $fields; + $this->select = array_merge($this->select,$fields); return $this; }