[-] BO : fixed bug #PSCFV-3541
This commit is contained in:
1 parent
8e87670a71
commit
8deb5583ad
1 file changed
+2
@@ -303,6 +303,8 @@ class AdminCurrenciesControllerCore extends AdminController
|
|||||||
else
|
else
|
||||||
$this->errors[] = Tools::displayError('You do not have permission to edit here.');
|
$this->errors[] = Tools::displayError('You do not have permission to edit here.');
|
||||||
}
|
}
|
||||||
|
if (Tools::isSubmit('submitAddcurrency') && !Tools::getValue('id_currency') && Currency::exists(Tools::getValue('iso_code'), Tools::getValue('iso_code_num')))
|
||||||
|
$this->errors[] = Tools::displayError('This currency already exist.');
|
||||||
parent::initProcess();
|
parent::initProcess();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user