mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-09-20 06:09:32 +00:00
Careless typos in code I can't execute :-(
This commit is contained in:
parent
6dcdc9442f
commit
3cc3396d67
@ -551,7 +551,7 @@ function sync_LDAP(){
|
|||||||
$ldap_timestamp = $Y.$m.$d.$H.$M.$S;
|
$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]
|
$ldap_timestamp = $matches[1].'T'.$matches[2].$matches[3];
|
||||||
}
|
}
|
||||||
else if ( empty($ldap_timestamp) ) {
|
else if ( empty($ldap_timestamp) ) {
|
||||||
$ldap_timestamp = date('c');
|
$ldap_timestamp = date('c');
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user