Fix bug when using raw_where with eloquent

This commit is contained in:
Han Lin Yap 2011-12-27 11:34:15 +01:00
parent 0302b9c3c2
commit 4a52aabd15
1 changed files with 2 additions and 2 deletions

View File

@ -217,12 +217,12 @@ protected function where_not_null($where)
/** /**
* Compile a raw WHERE clause. * Compile a raw WHERE clause.
* *
* @param string $where * @param array $where
* @return string * @return string
*/ */
protected function where_raw($where) protected function where_raw($where)
{ {
return $where; return $where['sql'];
} }
/** /**