Closed (fixed)
Project:
Panels Breadcrumbs
Version:
7.x-1.6
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Mar 2012 at 07:21 UTC
Updated:
18 Jul 2012 at 22:53 UTC
Jump to comment: Most recent file

Comments
Comment #1
rogical commentedComment #2
devuo commentedCan you tell me your Breadcrumb configuration?
Comment #3
techninja commentedI've also got this problem (I run in e-strict to catch little things like this, they're not killer, but good practice). Really, all PHP wants to say is that you just can't pass the output of end() through drupal_alter, as it's by reference, you'd never be able to change the input because it's not a variable.
Even if you'd never be using it (and I admit it's silly and yet another line of code), passing an actual variable along is the only correct method. See attached patch.
Comment #4
perignon commentedI applied the patch in #3 and it works. Fixes the strict warnings.
Comment #5
budalokko commentedI applied the patch in #3 too and fixed strict warning and module still works as expected.
Comment #6
ruplSame issue: no malfunctions in the code, but ran into this warning with strict warnings turned on.
Giving patch in #3 RTBC++
Comment #7
devuo commentedThanks for your contribution, this problem has been fixed in the 7.x-1.x-dev branch. A 7.x-1.x version will be released soon with the fix.