diff --git a/app/Models/Contact/Contact.php b/app/Models/Contact/Contact.php index 49dca78b4d5..a0158e9b2c9 100644 --- a/app/Models/Contact/Contact.php +++ b/app/Models/Contact/Contact.php @@ -595,7 +595,7 @@ public function scopeNotes($query, int $accountId = null, string $needle) return $query->orWhereHas('notes', function ($query) use ($accountId, $needle) { return $query->where([ ['account_id', $accountId], - ['body', 'like', "%$needle%"] + ['body', 'like', "%$needle%"], ]); }); }