From 823a7af927fbb5e8ab1aa4624ac49044ff6b8ee2 Mon Sep 17 00:00:00 2001 From: Alexander Demidov Date: Wed, 10 Dec 2014 11:56:42 +0300 Subject: [PATCH] =?UTF-8?q?whereJoin=20-=20=D1=80=D0=B0=D0=B7=D1=80=D0=B5?= =?UTF-8?q?=D1=88=D0=B5=D0=BD=D0=BE=20=D0=B8=D1=81=D0=BF=D0=BE=D0=BB=D1=8C?= =?UTF-8?q?=D0=B7=D0=BE=D0=B2=D0=B0=D1=82=D1=8C=20=D0=B1=D0=B5=D0=B7=20val?= =?UTF-8?q?ue?= 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 c437d06..4c6a7a4 100644 --- a/Model/SqlCriteria.php +++ b/Model/SqlCriteria.php @@ -143,7 +143,7 @@ class SqlCriteria return $this; } - public function whereJoin($join_table_name, $cond, $value) + public function whereJoin($join_table_name, $cond, $value = null) { $join_table_placeholder = $this->getTablePh($join_table_name); if (is_array($cond)) {