// Merge -> revision 9435
This commit is contained in:
@@ -50,6 +50,13 @@ class AdminAttachments extends AdminTab
|
||||
|
||||
public function postProcess()
|
||||
{
|
||||
/* PrestaShop demo mode */
|
||||
if (_PS_MODE_DEMO_)
|
||||
{
|
||||
$this->_errors[] = Tools::displayError('This functionnality has been disabled.');
|
||||
return;
|
||||
}
|
||||
/* PrestaShop demo mode*/
|
||||
if (Tools::isSubmit('submitAdd'.$this->table))
|
||||
{
|
||||
if ($id = (int)(Tools::getValue('id_attachment')) AND $a = new Attachment($id))
|
||||
|
||||
Reference in New Issue
Block a user