Skip to content
This repository was archived by the owner on Jan 9, 2024. It is now read-only.

Commit c377525

Browse files
romanmirandamsonowal
authored andcommitted
Update ModelService.php
1 parent 7b27a81 commit c377525

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Services/ModelService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function getFullTextIndexFields()
4848
foreach ($searchableFields as $searchableField) {
4949

5050
//@TODO cache this.
51-
$sql = "SHOW FIELDS FROM `$this->tablePrefixedName` where Field = ?";
51+
$sql = "SHOW FIELDS FROM `$this->tablePrefixedName` where `Field` = ?";
5252
$column = DB::connection($this->connectionName)->select($sql, [$searchableField]);
5353

5454
if (!isset($column[0])) {

0 commit comments

Comments
 (0)