This commit is contained in:
2024-11-27 23:26:49 +05:00
parent aa6e39aef2
commit ed640bf49e

View File

@@ -176,7 +176,7 @@ class User extends Authenticatable
*/
public function ownsLoanOrder(LoanOrder $loanOrder): bool
{
return $this->id === intval($loanOrder->user_id);
return $this->id == intval($loanOrder->user_id);
}
/**