Commit 4a52aabd authored by Han Lin Yap's avatar Han Lin Yap

Fix bug when using raw_where with eloquent

parent 0302b9c3
...@@ -217,12 +217,12 @@ class Grammar { ...@@ -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'];
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment