// Controllers: improvement on CSV
This commit is contained in:
1 parent
c5b42696af
commit
d0d7a9912f
3 files changed
+9
-8
No files matched your search
@@ -272,7 +272,7 @@ class AdminStockInstantStateControllerCore extends AdminController
|
||||
*/
|
||||
public function initToolbar()
|
||||
{
|
||||
if (Tools::isSubmit('id_warehouse') && (int)Tools::getValue('id_warehouse') != -1)
|
||||
if (Tools::isSubmit('id_warehouse') && (int)Tools::getValue('id_warehouse') != -1 && count($this->_list) > 0)
|
||||
{
|
||||
$this->toolbar_btn['export-stock-state-quantities-csv'] = array(
|
||||
'short' => 'Export this list as CSV',
|
||||
|
||||
Reference in new issue
Block a user