From b45a4d8133ef51eefa2ee51179da52e1c82c1c09 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Sat, 4 Feb 2023 07:41:25 +1100 Subject: [PATCH] Route model binding fixes --- app/Models/VendorContact.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/VendorContact.php b/app/Models/VendorContact.php index fc5288e417e9..75fb8a4eb692 100644 --- a/app/Models/VendorContact.php +++ b/app/Models/VendorContact.php @@ -145,7 +145,7 @@ class VendorContact extends Authenticatable implements HasLocalePreference { return $this ->withTrashed() - ->company() + // ->company() ->where('id', $this->decodePrimaryKey($value)) ->firstOrFail(); }