From 9ea397ff8f11d34606a6d500c965ef257bbbc34f Mon Sep 17 00:00:00 2001 From: abijah Date: Tue, 7 Jul 2009 08:08:36 +0000 Subject: [PATCH] Removed lingering debug prints git-svn-id: file:///svn-source/pmgr/branches/invoice_receipt_20090629/site@248 97e9348a-65ac-dc4b-aefc-98561f571b83 --- models/customer.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/models/customer.php b/models/customer.php index 9ef4ea8..4da68dc 100644 --- a/models/customer.php +++ b/models/customer.php @@ -216,7 +216,6 @@ class Customer extends AppModel { if (!$data['Customer']['name']) { $this->Contact->recursive = -1; $pcontact = $this->Contact->read(null, $data['Customer']['primary_contact_id']); - pr($pcontact); $data['Customer']['name'] = $pcontact['Contact']['display_name']; } @@ -247,8 +246,6 @@ class Customer extends AppModel { // Go through each entry of this customer method foreach ($data['Contact'] AS &$contact) { - pr(compact('contact')); - // Update the ContactsCustomer to reflect the appropriate IDs $contact['ContactsCustomer']['customer_id'] = $id; $contact['ContactsCustomer']['contact_id'] = $contact['id'];