Browse Source

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

namespace
Alexander Demidov 10 years ago
parent
commit
823a7af927
  1. 2
      Model/SqlCriteria.php

2
Model/SqlCriteria.php

@ -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)) {

Loading…
Cancel
Save