Issue #3268272 by sayco: TypeError: strpos(): Argument #1 ($haystack) must be of type string, int given in strpos()
(cherry picked from commit e605d0d3b7
)
merge-requests/1975/head
parent
de08a3d2d0
commit
12210b1f07
|
@ -212,7 +212,7 @@ function ckeditor5_form_filter_format_form_alter(array &$form, FormStateInterfac
|
|||
}
|
||||
|
||||
foreach ($plugins_config_form as $key => &$value) {
|
||||
if (is_array($value) && strpos($key, '#') === FALSE) {
|
||||
if (is_array($value) && strpos((string) $key, '#') === FALSE) {
|
||||
_add_ajax_listeners_to_plugin_inputs($value);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue