[SOLVED] A small fix for stockable.php for 1and1 hosting (VM 2.0.4)

Started by scornru, April 15, 2012, 20:35:12 PM

Previous topic - Next topic

scornru

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