Index: branches/5.1.x/units/products/products_tag_processor.php =================================================================== diff -u -r13100 -r13185 --- branches/5.1.x/units/products/products_tag_processor.php (.../products_tag_processor.php) (revision 13100) +++ branches/5.1.x/units/products/products_tag_processor.php (.../products_tag_processor.php) (revision 13185) @@ -1,6 +1,6 @@ Application->ConfigValue('product_OrderProductsBy'); } - $field_list_plain = $this->Conn->GetOne('SELECT ValueList FROM '.TABLE_PREFIX.'ConfigurationAdmin WHERE VariableName = '.$this->Conn->qstr('product_OrderProductsBy') ); + $sql = 'SELECT ValueList + FROM ' . TABLE_PREFIX . 'ConfigurationValues + WHERE VariableName = "product_OrderProductsBy"'; + $field_list_plain = $this->Conn->GetOne($sql); + $field_list = explode(',', $field_list_plain); $o = '';