fixed Undefined property: toolbar_btn

This commit is contained in:
Shreesh Arora
2023-01-23 12:14:27 +05:30
parent 1198ccbb9f
commit 29d641e752

View File

@@ -2451,8 +2451,6 @@ class AdminControllerCore extends Controller
$helper = new HelperList();
unset($this->toolbar_btn);
$this->initToolbar();
// Empty list is ok
if (!is_array($this->_list)) {
$this->displayWarning($this->l('Bad SQL query', 'Helper').'<br />'.htmlspecialchars($this->_list_error));