Skip to content

Commit

Permalink
Merge pull request #193 from sendsmaily/fix/wrong-rss-limit-index-3.0.x
Browse files Browse the repository at this point in the history
RSS product limit was using wrong index
  • Loading branch information
tomkabel authored Jan 27, 2021
2 parents 2d59118 + 0830692 commit 4704757
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}
Expand Down

0 comments on commit 4704757

Please sign in to comment.