We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eca5dcc commit 356726fCopy full SHA for 356726f
interface/web/client/form/client.tform.php
@@ -318,7 +318,7 @@
318
'country' => array (
319
'datatype' => 'VARCHAR',
320
'formtype' => 'SELECT',
321
- 'default' => ($conf['default_country'] ?? strtoupper($conf['language'] ?? '')),
+ 'default' => (isset($conf['default_country'])) ? strtoupper($conf['default_country']) : ((isset($conf['language'])) ? strtoupper($conf['language']) : ''),
322
'datasource' => array ( 'type' => 'SQL',
323
'querystring' => 'SELECT iso,printable_name FROM country ORDER BY printable_name ASC',
324
'keyfield' => 'iso',
0 commit comments