diff --git a/laravel/database/query.php b/laravel/database/query.php index caf6ac56..60fb30a0 100644 --- a/laravel/database/query.php +++ b/laravel/database/query.php @@ -208,7 +208,9 @@ public function raw_or_where($where, $bindings = array()) */ public function where($column, $operator, $value, $connector = 'AND') { - $this->wheres[] = array_merge(array('type' => 'where'), compact('column', 'operator', 'value', 'connector')); + $type = 'where'; + + $this->wheres[] = compact('type', 'column', 'operator', 'value', 'connector'); $this->bindings[] = $value;