Skip to content
Snippets Groups Projects
Commit 8466a160 authored by Reinhold Kainhofer's avatar Reinhold Kainhofer
Browse files

V0.8: Fix function signature that changed in VmController in the latest VM versions

parent f323b31b
Branches
Tags
No related merge requests found
BASE=eurecap BASE=eurecap
PLUGINTYPE=vmextended PLUGINTYPE=vmextended
VERSION=0.7 VERSION=0.8
PLUGINFILES=$(BASE).php $(BASE).script.php $(BASE).xml index.html PLUGINFILES=$(BASE).php $(BASE).script.php $(BASE).xml index.html
# $(BASE)/ # $(BASE)/
......
...@@ -57,7 +57,7 @@ class VirtuemartControllerEuRecap extends VmController { ...@@ -57,7 +57,7 @@ class VirtuemartControllerEuRecap extends VmController {
$this->display(); $this->display();
} }
function display($layout='') { function display($cachable = false, $urlparams = false) {
if (vRequest::getVar('format')=='raw') { if (vRequest::getVar('format')=='raw') {
// Raw forman means "Export"!!! // Raw forman means "Export"!!!
// Ideally, we would use an export task, but unfortunately // Ideally, we would use an export task, but unfortunately
...@@ -78,7 +78,7 @@ class VirtuemartControllerEuRecap extends VmController { ...@@ -78,7 +78,7 @@ class VirtuemartControllerEuRecap extends VmController {
$view->setLayout($layout); $view->setLayout($layout);
} }
return parent::display($layout); return parent::display($cachable, $urlparams);
} }
/** /**
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<authorUrl>http://www.open-tools.net/</authorUrl> <authorUrl>http://www.open-tools.net/</authorUrl>
<copyright>Copyright (C) 2015 Reinhold Kainhofer. All rights reserved.</copyright> <copyright>Copyright (C) 2015 Reinhold Kainhofer. All rights reserved.</copyright>
<license>http://www.gnu.org/licenses/gpl-3.0.html GNU/GPLv3</license> <license>http://www.gnu.org/licenses/gpl-3.0.html GNU/GPLv3</license>
<version>0.7</version> <version>0.8</version>
<releaseDate>2016-01-01</releaseDate> <releaseDate>2016-01-01</releaseDate>
<releaseType>Update</releaseType> <releaseType>Update</releaseType>
<downloadUrl>http://www.open-tools.net</downloadUrl> <downloadUrl>http://www.open-tools.net</downloadUrl>
......
File added
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment