We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In admin > reports > customer.php > public function getCredit is missing AND.
Now is:
$sql .= "DATE(ct.date_added) >= '" . $this->db->escape($data['filter_date_start']) . "'"; $sql .= "DATE(ct.date_added) <= '" . $this->db->escape($data['filter_date_end']) . "'";
I think it must be:
$sql .= " AND DATE(ct.date_added) >= '" . $this->db->escape($data['filter_date_start']) . "'"; $sql .= " AND DATE(ct.date_added) <= '" . $this->db->escape($data['filter_date_end']) . "'";
The text was updated successfully, but these errors were encountered:
https://github.com/opencart/opencart/issues/2554
7587dfd
Fix SQL in customer reports getCredit
e7d9ab0
opencart/opencart#2554
ea78441
No branches or pull requests
In admin > reports > customer.php > public function getCredit is missing AND.
Now is:
$sql .= "DATE(ct.date_added) >= '" . $this->db->escape($data['filter_date_start']) . "'";
$sql .= "DATE(ct.date_added) <= '" . $this->db->escape($data['filter_date_end']) . "'";
I think it must be:
$sql .= " AND DATE(ct.date_added) >= '" . $this->db->escape($data['filter_date_start']) . "'";
$sql .= " AND DATE(ct.date_added) <= '" . $this->db->escape($data['filter_date_end']) . "'";
The text was updated successfully, but these errors were encountered: