From 3b757496508dc27610397f15d15865f8d961c742 Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Tue, 18 Sep 2012 18:57:51 +0000 Subject: [PATCH] Make the contact notes more readable. --- app/contacts/contact_notes.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/contacts/contact_notes.php b/app/contacts/contact_notes.php index d4a185f1ca..b412a61ec7 100644 --- a/app/contacts/contact_notes.php +++ b/app/contacts/contact_notes.php @@ -60,9 +60,9 @@ require_once "includes/paging.php"; echo "\n"; //prepare to page the results - $sql = " select count(*) as num_rows from v_contact_notes "; - $sql .= " where domain_uuid = '".$_SESSION['domain_uuid']."' "; - $sql .= " and contact_uuid = '$contact_uuid' "; + $sql = "select count(*) as num_rows from v_contact_notes "; + $sql .= "where domain_uuid = '".$_SESSION['domain_uuid']."' "; + $sql .= "and contact_uuid = '$contact_uuid' "; if (strlen($order_by)> 0) { $sql .= "order by $order_by $order "; } $prep_statement = $db->prepare($sql); if ($prep_statement) { @@ -118,7 +118,7 @@ require_once "includes/paging.php"; else { foreach($result as $row) { $contact_note = $row['contact_note']; - //$contact_note = str_replace("\n","
",$contact_note); + $contact_note = str_replace("\n","
",$contact_note); echo "\n"; echo "\n";