diff --git a/upload/admin/controller/extension/module/smaily_for_opencart.php b/upload/admin/controller/extension/module/smaily_for_opencart.php index 3131287b..c32baa20 100644 --- a/upload/admin/controller/extension/module/smaily_for_opencart.php +++ b/upload/admin/controller/extension/module/smaily_for_opencart.php @@ -571,9 +571,9 @@ protected function validate() { } // Validate RSS product limit value - if (isset($this->request->post['smaily_for_opencart_rss_limit']) - && ((int) $this->request->post['smaily_for_opencart_rss_limit'] < 1 - || (int) $this->request->post['smaily_for_opencart_rss_limit'] > 250 + if (isset($this->request->post['module_smaily_for_opencart_rss_limit']) + && ((int) $this->request->post['module_smaily_for_opencart_rss_limit'] < 1 + || (int) $this->request->post['module_smaily_for_opencart_rss_limit'] > 250 )) { $this->error['rss_limit'] = $this->language->get('rss_limit_error'); }