[-] BO : BugFix : #PSCFV-2973 : Product Return : unable to create a product return
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16169 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -153,7 +153,7 @@ class AdminReturnControllerCore extends AdminController
|
||||
public function initToolbar()
|
||||
{
|
||||
// If display list, we don't want the "add" button
|
||||
if (!$this->display)
|
||||
if (!$this->display || $this->display == 'list')
|
||||
return;
|
||||
parent::initToolbar();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user