<?xml version="1.0" encoding="utf-8"?>
<modification>
	<name>Abandoned Cart Reminder PRO</name>
	<version>1.4.3</version>
	<code>ocxacrp143</code>
	<author>OC-Extensions.com</author>
	<link>http://www.oc-extensions.com/Abandoned-Cart-Reminder-Pro-Opencart-2.x</link>

	<file path="system/library/customer.php">
		<operation error="log">
			<search><![CDATA[$this->db->query("UPDATE " . DB_PREFIX . "customer SET cart = '" . $this->db->escape(isset($this->session->data['cart']) ? serialize($this->session->data['cart']) : '') . "', wishlist = '" . $this->db->escape(isset($this->session->data['wishlist']) ? serialize($this->session->data['wishlist']) : '') . "', ip = '" . $this->db->escape($this->request->server['REMOTE_ADDR']) . "' WHERE customer_id = '" . (int)$this->customer_id . "'");]]></search>
			<add position="replace"><![CDATA[$this->db->query("UPDATE " . DB_PREFIX . "customer SET cart = '" . $this->db->escape(isset($this->session->data['cart']) ? serialize($this->session->data['cart']) : '') . "', wishlist = '" . $this->db->escape(isset($this->session->data['wishlist']) ? serialize($this->session->data['wishlist']) : '') . "', date_last_action = NOW(), number_reminder_sent = 0, acr_mail_language_id='" . (int)$this->config->get('config_language_id') . "', ip = '" . $this->db->escape($this->request->server['REMOTE_ADDR']) . "' WHERE customer_id = '" . (int)$this->customer_id . "'");]]></add>
		</operation>
		
		<operation error="log">
			<search><![CDATA[$this->db->query("UPDATE " . DB_PREFIX . "customer SET cart = '" . $this->db->escape(isset($this->session->data['cart']) ? serialize($this->session->data['cart']) : '') . "', wishlist = '" . $this->db->escape(isset($this->session->data['wishlist']) ? serialize($this->session->data['wishlist']) : '') . "' WHERE customer_id = '" . (int)$this->customer_id . "'");]]></search>
			<add position="replace"><![CDATA[$this->db->query("UPDATE " . DB_PREFIX . "customer SET cart = '" . $this->db->escape(isset($this->session->data['cart']) ? serialize($this->session->data['cart']) : '') . "', wishlist = '" . $this->db->escape(isset($this->session->data['wishlist']) ? serialize($this->session->data['wishlist']) : '') . "', date_last_action = NOW(), acr_mail_language_id='" . (int)$this->config->get('config_language_id') . "' WHERE customer_id = '" . (int)$this->customer_id . "'");]]></add>
		</operation>
	</file>
</modification>