mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-02 20:19:27 +01:00
fix TypeError: str_contains(): Argument #1 ($haystack) must be of type string, array given
This commit is contained in:
parent
67a1b107a7
commit
ae12634639
@ -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