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

View File

@@ -217,12 +217,12 @@ class Grammar {
/** /**
* 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'];
} }
/** /**