whereJoin - разрешено использовать без value

This commit is contained in:
2014-12-10 11:56:42 +03:00
parent 66d342272d
commit 823a7af927

View File

@ -143,7 +143,7 @@ class SqlCriteria
return $this; 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); $join_table_placeholder = $this->getTablePh($join_table_name);
if (is_array($cond)) { if (is_array($cond)) {