diff --git a/src/Illuminate/Validation/Rules/DatabaseRule.php b/src/Illuminate/Validation/Rules/DatabaseRule.php index 88b4d27cd941..b8113b2afadb 100644 --- a/src/Illuminate/Validation/Rules/DatabaseRule.php +++ b/src/Illuminate/Validation/Rules/DatabaseRule.php @@ -196,11 +196,7 @@ public function queryCallbacks() protected function formatWheres() { return collect($this->wheres)->map(function ($where) { - if (is_bool($where['value'])) { - return $where['column'].','.($where['value'] ? 'true' : 'false'); - } else { - return $where['column'].','.'"'.str_replace('"', '""', $where['value']).'"'; - } + return $where['column'].','.'"'.str_replace('"', '""', $where['value']).'"'; })->implode(','); } }