mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-23 05:41:02 +01:00
fix TypeError: str_contains(): Argument #1 ($haystack) must be of type string, array given
This commit is contained in:
parent
0e405ffa96
commit
b2fd1cc59d
@ -3125,7 +3125,8 @@ class calendar_uiforms extends calendar_ui
|
||||
{
|
||||
return;
|
||||
}
|
||||
if(str_contains($history['history']['status-widgets'][$row['status']], 'date'))
|
||||
if (is_string($history['history']['status-widgets'][$row['status']]) &&
|
||||
str_contains($history['history']['status-widgets'][$row['status']], 'date'))
|
||||
{
|
||||
foreach(['old_value', 'new_value'] as $field)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user