Careless typos in code I can't execute :-(

This commit is contained in:
Andrew McMillan 2011-10-29 00:52:54 +13:00
parent 6dcdc9442f
commit 3cc3396d67

View File

@ -551,7 +551,7 @@ function sync_LDAP(){
$ldap_timestamp = $Y.$m.$d.$H.$M.$S;
}
else if ( preg_match('{^(\d{8})(\d{6})(Z)?$', $ldap_timestamp, $matches ) ) {
$ldap_timestamp = $matches[1].'T'.$matches[2].$matches[3]
$ldap_timestamp = $matches[1].'T'.$matches[2].$matches[3];
}
else if ( empty($ldap_timestamp) ) {
$ldap_timestamp = date('c');