[*] Error when delete links
Using the wrong variable
This commit is contained in:
+1
-1
@@ -263,7 +263,7 @@ class Blocktopmenu extends Module
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!count($errors_add_link))
|
if (!count($errors_delete_link))
|
||||||
$this->_html .= $this->displayConfirmation($this->l('The link has been removed.'));
|
$this->_html .= $this->displayConfirmation($this->l('The link has been removed.'));
|
||||||
else
|
else
|
||||||
$this->_html .= $this->displayError(sprintf($this->l('Unable to remove link for the following shop(s): %s'), implode(', ', $errors_delete_link)));
|
$this->_html .= $this->displayError(sprintf($this->l('Unable to remove link for the following shop(s): %s'), implode(', ', $errors_delete_link)));
|
||||||
|
|||||||
Reference in New Issue
Block a user