VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: scornru on April 15, 2012, 20:35:12 PM

Title: [SOLVED] A small fix for stockable.php for 1and1 hosting (VM 2.0.4)
Post by: scornru on April 15, 2012, 20:35:12 PM
Hi,

With the stockable variant plugin (custom fields) and 1and1 hosting :
when editing a product, the custom field does not display the children, so you loose all your settings for that custom field.

The fix cannot be more simple, in stockable.php, function getChilds(), change :

$q = 'SELECT CONCAT (

with

$q = 'SELECT CONCAT(


Yes, only remove the space after CONCAT ! That's all !

Anyone knowing why the 1and1 SQL has such behavior ?

scornru