mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-08-29 18:26:05 +00:00
Need a space after each duration element for PostgreSQL.
This commit is contained in:
parent
491772b066
commit
061944f2c7
@ -644,7 +644,7 @@ function write_alarms( $dav_id, $ical ) {
|
||||
$minus = (substr($duration,0,1) == '-');
|
||||
$related_trigger = trim(preg_replace( '#[PT-]#', ' ', $duration ));
|
||||
if ( $minus ) {
|
||||
$related_trigger = preg_replace( '{(\d+)}', '-$1', $related_trigger );
|
||||
$related_trigger = preg_replace( '{(\d+[WDHMS])}', '-$1 ', $related_trigger );
|
||||
}
|
||||
}
|
||||
$qry->Bind(':action', $v->GetPValue('ACTION'));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user