LSformElement_supannCompositeAttribute: fix PHP syntax error

This commit is contained in:
Benjamin Renard 2021-06-11 16:22:32 +02:00
parent 9879dd3eda
commit 7c45c4bb8c

View file

@ -107,7 +107,7 @@ class LSformElement_supannCompositeAttribute extends LSformElement {
$this -> components[$c]['ldap_format'] = LSconfig :: get('format', null, null, $this -> components[$c]);
$this -> components[$c]['php_format'] = 'd/m/Y';
$this -> components[$c]['js_format'] = '%d/%m/%Y';
if (cconf['type'] == 'datetime') {
if ($cconf['type'] == 'datetime') {
$this -> components[$c]['php_format'] .= ' H:i:s';
$this -> components[$c]['js_format'] .= ' %H:%M:%S';
}