Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Bug/php 8.1 issues #21

Merged
merged 3 commits into from
Jan 11, 2023
Merged

Bug/php 8.1 issues #21

merged 3 commits into from
Jan 11, 2023

Conversation

MdNadimHossain
Copy link
Contributor

JIRA

Problem

if $element['#default_value'] returns string count will throw error cause it can only run on array types. This causes a test content edit page to break and in results the behat test fails.

Changes

Just check empty() elements should be enough as this checks for empty arrays as well.

@MdNadimHossain MdNadimHossain merged commit 71e1bf9 into master Jan 11, 2023
@MdNadimHossain MdNadimHossain deleted the bug/php-8.1-issues branch January 11, 2023 00:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants