From 6dcdc9442fc83489ae907c3e3607512ea77552e1 Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Sat, 29 Oct 2011 00:48:23 +1300 Subject: [PATCH] Fix missing bracket typo. --- inc/drivers_ldap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/drivers_ldap.php b/inc/drivers_ldap.php index c769ca97..513d1ac3 100644 --- a/inc/drivers_ldap.php +++ b/inc/drivers_ldap.php @@ -550,7 +550,7 @@ function sync_LDAP(){ $$k = substr($ldap_timestamp,$v[0],$v[1]); $ldap_timestamp = $Y.$m.$d.$H.$M.$S; } - else if ( preg_match('{^(\d{8})(\d{6})(Z)?$', $ldap_timestamp, $matches ) { + else if ( preg_match('{^(\d{8})(\d{6})(Z)?$', $ldap_timestamp, $matches ) ) { $ldap_timestamp = $matches[1].'T'.$matches[2].$matches[3] } else if ( empty($ldap_timestamp) ) { -- 2.11.4.GIT