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

Bug in /catalog/model/affiliate/affiliate.php Line 51 in getAffiliateByEmail #198

Closed
ghost opened this issue Oct 19, 2012 · 1 comment
Closed

Comments

@ghost
Copy link

ghost commented Oct 19, 2012

$query = $this->db->query("SELECT * FROM " . DB_PREFIX . "affiliate WHERE email = '" . (int)$email . "'");

Should be $this->db->escape($email) instead of (int)$email

@opencart
Copy link
Collaborator

fixed

savage4pro pushed a commit to savage4pro/opencart that referenced this issue Mar 21, 2016
oc-2.1.0.2 admin catalog product list filter update
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

0 participants