Closed (fixed)
Project:
Block node
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
15 Mar 2018 at 13:51 UTC
Updated:
20 Oct 2021 at 15:39 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
Christopher Riley commentedIs this module still being developed? I changed the offending line to if (isset($configuration['current'])) { instead of if ($configuration['current']) { and that took care of the notice but I lost the block because current is set as a 0 so it is always set.
It would be nice for the author to address it or drop the module if it is not going to be developed.
Comment #3
grace_kezia commentedHi,
The error is caused because, we are not checking whether current is set or not in the configuration.
Attached is the patch.
Comment #4
justcaldwellWe've been using #3 on a production site for month with no issue. Thank you!
Comment #5
tancThis patch fixes it properly and retains the 'current node' option functionality.
Comment #7
tancThanks all, committed.