You are here

function redhen_note_load in RedHen CRM 7

Loads a note by ID.

File

modules/redhen_note/redhen_note.module, line 228
Redhen Notes main module

Code

function redhen_note_load($note_id) {
  if (empty($note_id)) {
    return FALSE;
  }
  $notes = redhen_note_load_multiple(array(
    $note_id,
  ), array());
  return $notes ? reset($notes) : FALSE;
}