Added php empty text field check for create note.
PHP will only make sure the note has a title, the body content may be empty.