diff --git a/app/contacts/contact_notes.php b/app/contacts/contact_notes.php index 44cc6765b8..6bd8985756 100644 --- a/app/contacts/contact_notes.php +++ b/app/contacts/contact_notes.php @@ -17,22 +17,26 @@ The Initial Developer of the Original Code is Mark J Crane - Portions created by the Initial Developer are Copyright (C) 2008-2012 + Portions created by the Initial Developer are Copyright (C) 2008-2018 the Initial Developer. All Rights Reserved. Contributor(s): Mark J Crane */ -require_once "root.php"; -require_once "resources/require.php"; -require_once "resources/check_auth.php"; -if (permission_exists('contact_note_view')) { - //access granted -} -else { - echo "access denied"; - exit; -} + +//includes + require_once "root.php"; + require_once "resources/require.php"; + require_once "resources/check_auth.php"; + +//check permissions + if (permission_exists('contact_note_view')) { + //access granted + } + else { + echo "access denied"; + exit; + } //show the content echo "\n";