diff --git a/public_html/lib/shortInfo_right_lib.php b/public_html/lib/shortInfo_right_lib.php index a3d9451..40f8f82 100644 --- a/public_html/lib/shortInfo_right_lib.php +++ b/public_html/lib/shortInfo_right_lib.php @@ -56,7 +56,7 @@ $noteQuery = " FROM tbl_customer tc LEFT OUTER JOIN tbl_note tn ON tc.c_uid = tn.n_customeruid LEFT OUTER JOIN tbl_member tm ON tn.n_memberuid = tm.m_uid - WHERE tc.c_uid = '$c_uid' + WHERE tc.c_uid = '$c_uid' and tn.n_status = 'A' ORDER BY tn.n_createddate DESC LIMIT $note_start, $notesPerPage ";