From 7c45c4bb8c3dde8bc8b41ebfdf086ec6c274bc12 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Fri, 11 Jun 2021 16:22:32 +0200 Subject: [PATCH] LSformElement_supannCompositeAttribute: fix PHP syntax error --- .../class/class.LSformElement_supannCompositeAttribute.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/includes/class/class.LSformElement_supannCompositeAttribute.php b/src/includes/class/class.LSformElement_supannCompositeAttribute.php index 6255c21a..3965a2ab 100644 --- a/src/includes/class/class.LSformElement_supannCompositeAttribute.php +++ b/src/includes/class/class.LSformElement_supannCompositeAttribute.php @@ -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'; }