Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make unique only global settings (arrays) #1495

Merged
merged 1 commit into from Mar 3, 2021

Conversation

maks-rafalko
Copy link
Member

For example, when MBString extension is used, its value is not an array, but an object with keys and values:

{
    "MBString": {
        "settings": {
            "mb_substr": false,
            "mb_strlen": false
        }
    }
}

we shouldn't call array_unique for such objects

Fixes #1479

For example, when MBString extension is used, its value is not an array, but an object with keys and values:

```json
{
    "MBString": {
        "settings": {
            "mb_substr": false,
            "mb_strlen": false
        }
    }
}
```

we shouldn't call `array_unique` for such objects
@maks-rafalko maks-rafalko enabled auto-merge (rebase) March 2, 2021 19:56
@maks-rafalko maks-rafalko merged commit 2ca5fd6 into 0.21 Mar 3, 2021
@maks-rafalko maks-rafalko deleted the bugfix/config-mb-string branch March 3, 2021 09:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants