mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 07:09:20 +01:00
catch exception caused by wrongly formatted date, as it eg. stalls whole mail app, as we created placeholders of account for signature
This commit is contained in:
parent
4a79713ad5
commit
f1440fb9d5
@ -229,7 +229,12 @@ abstract class Merge
|
||||
case 'bday':
|
||||
if ($value)
|
||||
{
|
||||
$value = Api\DateTime::to($value, true);
|
||||
try {
|
||||
$value = Api\DateTime::to($value, true);
|
||||
}
|
||||
catch (Exception $e) {
|
||||
unset($e); // ignore exception caused by wrongly formatted date
|
||||
}
|
||||
}
|
||||
break;
|
||||
case 'owner': case 'creator': case 'modifier':
|
||||
|
Loading…
Reference in New Issue
Block a user