News:

Looking for documentation? Take a look on our wiki

Main Menu

Possibly typo in productdetails view

Started by vasiljevski, April 09, 2012, 15:17:43 PM

Previous topic - Next topic

vasiljevski

In components/com_virtuemart/views/productdetails/view.html.php, line 127:

$params = new JParameter();

should be:

$params = new JParameter('');

Creates a notice in Joomla 1.5, not a big deal, but can be easily solved :)

Thomas Kuschel

Thanks vasiljevski, this helps to remove a warning and 2 notices: (Just to feed the search database listed notices)
Warning: Missing argument 1 for JParameter::__construct(), called in ../components/com_virtuemart/views/productdetails/view.html.php on line 127 and defined in ../libraries/joomla/html/parameter.php on line 76
Notice: Undefined variable: data in ../libraries/joomla/html/parameter.php on line 83
Notice: Undefined variable: data in ../libraries/joomla/html/parameter.php on line 91
Thomas

Studio 42

Hi,
Tks for tip ;)
Corrected for next release.