VM4.0.12 Missing "media" parameter in mod_virtuemart_category config

Started by n3t, February 25, 2023, 03:51:47 AM

Previous topic - Next topic

n3t

Hi,

I found small bug in VM Category Module. In its helper $media = (int)$params->get('media', 0);
is used to detect if media should be loaded or not, but there is no "media" parameter in XML config for this module,
therefore only way how to display images in category module is to change layout to "wall", which has hordcoded support for media.

Pavel