News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

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?