From 41fb5fa552037d9db546645826996ec2cb6e88e2 Mon Sep 17 00:00:00 2001
From: Torsten Oppermann <torsten@sgalinski.de>
Date: Wed, 25 Jul 2018 16:55:48 +0200
Subject: [PATCH] [TASK] Fix wrong default value for company contacts

---
 Configuration/TCA/tx_sgjobs_domain_model_company.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Configuration/TCA/tx_sgjobs_domain_model_company.php b/Configuration/TCA/tx_sgjobs_domain_model_company.php
index af3b8603..533a9e1d 100644
--- a/Configuration/TCA/tx_sgjobs_domain_model_company.php
+++ b/Configuration/TCA/tx_sgjobs_domain_model_company.php
@@ -190,7 +190,7 @@ return [
 			'label' => 'LLL:EXT:sg_jobs/Resources/Private/Language/locallang_db.xlf:tx_sgjobs_domain_model_job.contact',
 			'config' => [
 				'type' => 'select',
-				'eval' => 'required',
+				'items' => [['', 0]],
 				'renderType' => 'selectSingle',
 				'internal_type' => 'db',
 				'foreign_table' => 'tx_sgjobs_domain_model_contact',
-- 
GitLab