// Fixed issue with refresh of default_country_modules_list.xml

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17736 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
dMetzger
2012-10-03 16:22:09 +00:00
parent d3adbb1ba4
commit 64a83b9a55
5 changed files with 14 additions and 10 deletions
@@ -126,13 +126,12 @@ class AdminAttachmentsControllerCore extends AdminController
public function postProcess()
{
/* PrestaShop demo mode */
if (_PS_MODE_DEMO_)
{
$this->errors[] = Tools::displayError('This functionality has been disabled.');
return;
}
/* PrestaShop demo mode*/
if (Tools::isSubmit('submitAdd'.$this->table))
{
$id = (int)Tools::getValue('id_attachment');