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 "