You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In method validateForm, the $this->error['warning'] should be set whenever there are form validation errors for posted form fields. At the moment, it only does it when there is a validation error for the $this->request->post['keyword'].
Suggested bugfix: Method validateForm should look like this:
Daniel, it should do the warning message, too, for missing category name. However, your code doesn't do it at the moment, please see my proposed bugfix!
For OpenCart 2.0.2.0 and 2.0.2.1_rc:
In method validateForm, the $this->error['warning'] should be set whenever there are form validation errors for posted form fields. At the moment, it only does it when there is a validation error for the $this->request->post['keyword'].
Suggested bugfix: Method validateForm should look like this:
The text was updated successfully, but these errors were encountered: