From 325b6002263add124b3322636431b60b38c5293d Mon Sep 17 00:00:00 2001
From: Moritz Strohm <strohm@data-quest.de>
Date: Fri, 29 Nov 2024 10:20:27 +0000
Subject: [PATCH] institute/basicdata/index: do not make the homepage field a
 required field, fixes #4930

Closes #4930

Merge request studip/studip!3700
---
 app/views/institute/basicdata/index.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/views/institute/basicdata/index.php b/app/views/institute/basicdata/index.php
index 5c364918d7e..1bdbd9588bf 100644
--- a/app/views/institute/basicdata/index.php
+++ b/app/views/institute/basicdata/index.php
@@ -102,7 +102,7 @@
 
         <label class="col-3">
             <?= _('Homepage') ?>
-            <?= I18N::input('url', $institute->url, LockRules::Check($institute->id, 'url') ? ['readonly' => true, 'disabled' => true] : ['required' => true]); ?>
+            <?= I18N::input('url', $institute->url, LockRules::Check($institute->id, 'url') ? ['readonly' => true, 'disabled' => true] : ['required' => false]); ?>
         </label>
 
     <? if ($GLOBALS['perm']->have_perm('root')): // Select lockrule to apply ?>
-- 
GitLab