Fix missing bracket typo.

This commit is contained in:
Andrew McMillan 2011-10-29 00:48:23 +13:00
parent 384eabdff3
commit 6dcdc9442f

View File

@ -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) ) {