mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-25 20:31:31 +02:00
fix PHP 8.3 Error: Cannot create dynamic property DateMalformedStringException::$details
This commit is contained in:
parent
4e047d8f06
commit
ba6f207f5f
@ -133,8 +133,11 @@ class Date extends Transformer
|
|||||||
}
|
}
|
||||||
catch (\Exception $e) {
|
catch (\Exception $e) {
|
||||||
// do NOT stall for somehow invalid values: log it and return empty
|
// do NOT stall for somehow invalid values: log it and return empty
|
||||||
$e->details = $this->id.': '.json_encode($value);
|
if($value)
|
||||||
_egw_log_exception($e);
|
{
|
||||||
|
//error_log(__METHOD__."()".$this->id . ': ' . json_encode($value));
|
||||||
|
_egw_log_exception($e);
|
||||||
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user