Skip to content

Commit 58589c2

Browse files
author
Till Brehm
committed
Merge branch '6495-client-language-as-required' into 'develop'
Setting the language as a required field when creating a client Closes #6495 See merge request ispconfig/ispconfig3!1719
2 parents 7b215c2 + 63e5548 commit 58589c2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

interface/web/client/form/client.tform.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,9 @@
231231
'language' => array (
232232
'datatype' => 'VARCHAR',
233233
'formtype' => 'SELECT',
234+
'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY',
235+
'errmsg'=> 'language_error_empty'),
236+
),
234237
'default' => $conf["language"],
235238
'value' => $language_list,
236239
'separator' => '',

0 commit comments

Comments
 (0)