[-] BO : BugFix : #PSCFV-2973 : Product Return : unable to create a product return

This commit is contained in:
vChabot
2012-06-29 14:06:50 +00:00
parent 7fe354a5ab
commit 084b0f8bd3
+1 -1
View File
@@ -153,7 +153,7 @@ class AdminReturnControllerCore extends AdminController
public function initToolbar() public function initToolbar()
{ {
// If display list, we don't want the "add" button // If display list, we don't want the "add" button
if (!$this->display) if (!$this->display || $this->display == 'list')
return; return;
parent::initToolbar(); parent::initToolbar();
} }