Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OC 2.0.3.x Obsolete code in admin/controller/catalog/product.php #3143

Closed
mhcwebdesign opened this issue Jun 27, 2015 · 0 comments
Closed

OC 2.0.3.x Obsolete code in admin/controller/catalog/product.php #3143

mhcwebdesign opened this issue Jun 27, 2015 · 0 comments

Comments

@mhcwebdesign
Copy link
Collaborator

In file admin/controller/catalog/product.php, in method getForm, this code section appears to be obsolete:

        if (isset($this->error['date_available'])) {
            $data['error_date_available'] = $this->error['date_available'];
        } else {
            $data['error_date_available'] = '';
        }

The validateForm never does a validation error for the date_available, nor does the product_form.tpl ever use an $error_date_available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants