Skip to content

Commit 356726f

Browse files
author
Till Brehm
committed
Update client.tform.php
1 parent eca5dcc commit 356726f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@
318318
'country' => array (
319319
'datatype' => 'VARCHAR',
320320
'formtype' => 'SELECT',
321-
'default' => ($conf['default_country'] ?? strtoupper($conf['language'] ?? '')),
321+
'default' => (isset($conf['default_country'])) ? strtoupper($conf['default_country']) : ((isset($conf['language'])) ? strtoupper($conf['language']) : ''),
322322
'datasource' => array ( 'type' => 'SQL',
323323
'querystring' => 'SELECT iso,printable_name FROM country ORDER BY printable_name ASC',
324324
'keyfield' => 'iso',

0 commit comments

Comments
 (0)