There are a few warnings thrown on array_intersect function. There have been a few issues already created, that should have fixed few of them, but not all, in one case, misuse of config object get method (get method doesn't have default value option).

These errors seem to happen when config values are not set - get method returns NULL in these cases, array_intersect for example wants array. The attached patch should fix these issues.

Comments

rang501 created an issue. See original summary.

ytsurk’s picture

The null coalesce operator should imo be introduced everywhere, and not just or some statements, we should use consistent syntax.

ytsurk’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new3.07 KB

  • ytsurk committed 61172c5 on 2.x
    Issue #3248194 by rang501, ytsurk: Fixes for some combined upload...
ytsurk’s picture

Status: Reviewed & tested by the community » Fixed

  • ytsurk committed 866f730 on 2.x
    Issue #3248194 by rang501, ytsurk: Fixes for some combined upload...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.