On line 41 of the module, you have:

$display_type = $teaser ? 'teaser' : 'full';

But there is no $teaser variable set in the function. I believe the code you want is:

$display_type = ($a3) ? 'teaser' : 'full';

I'd offer a patch, but first want to make sure that this really is a bug.

BTW: great module. I'm working on something very similar. I picked up some great ideas from your code. Thanks!

Comments

nvoyageur’s picture

Thanks, I've updated this in the 5.x-dev version.

crookednumber’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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