[hot] fix in issue
diff --git a/erpnext/support/doctype/issue/issue.py b/erpnext/support/doctype/issue/issue.py
index fa333ed..0a691e2 100644
--- a/erpnext/support/doctype/issue/issue.py
+++ b/erpnext/support/doctype/issue/issue.py
@@ -31,9 +31,13 @@
 			if not self.lead:
 				self.lead = frappe.db.get_value("Lead", {"email_id": email_id})
 			if not self.contact:
-				self.contact, self.customer = frappe.db.get_value("Contact",
+				values = frappe.db.get_value("Contact",
 					{"email_id": email_id}, ("name", "customer"))
 
+				if values:
+					self.contact, self.customer = values
+
+
 			if not self.company:
 				self.company = frappe.db.get_value("Lead", self.lead, "company") or \
 					frappe.db.get_default("company")