Closed (fixed)
Project:
Easy Breadcrumb
Version:
7.x-2.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Issue tags:
Reporter:
Created:
26 Mar 2019 at 10:34 UTC
Updated:
26 Mar 2019 at 12:26 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
tatarbjThanks @.tom,
let me get back to you with a patch to resolve it!
Bests,
Balazs.
Comment #3
.tom commented@tatarbj
I already wrote a patch, I was just getting the naming right. Please check!
Cheers!
Comment #4
.tom commentedComment #5
tatarbjThat's exactly what I'm thinking about - should we check the availability there (isset() seems a better approach) or initialize it before the foreach().
Could you just confirm the isset() also resolves the warning on your end (having issues with setting up php7.2 at the moment).
Comment #6
tatarbjJust in case, I've queued both of the patches for PHP 7.2 & MySQL 5.5 to see the tests.
Comment #7
.tom commentedYes, isset() works fine for me. I originally wrote isset(), but thought that is_array() might be (marginally) better since isset() still leaves room for non-countable values. But I don't know if this could ever actually occur.
Comment #9
tatarbjThanks @.tom,
it's committed and will be in the new release when other issues are done too.
Bests,
Balazs
Comment #10
tatarbj