News:

Looking for documentation? Take a look on our wiki

Main Menu

getOrderByList drop down URL contains SQL

Started by cmp, August 11, 2014, 05:27:39 AM

Previous topic - Next topic

cmp

Hi, I am new to this stuff. I had a problem with the links generated in the manufacturer sort by menu when selecting a product attribute and then a manufacturer.

Somehow the url was including some of the SQL query.

Fixed the problem by adding :

$ptn = '/,`p`./';
$rplce = ',';
$link = preg_replace($ptn, $rplce, $link);


at line 2171 in administrator/components/com_virtuemart/models/product.php

couldn't figure how "`p`." was getting into the url to begin with.

Am running Joomla 2.5.24 and Virtuemart 2.6.6

Has anyone else had this issue?