Fix unset offset 0 warning
Merge pull request #2 from blatin/7.x-2.x

Fix illegal offset 0 warning
Issue #2142767 by tedbow: Realname module should be dependency.
Fix Undefined property: stdClass:: in oa_notifications_form_fields()
Fix Undefined property: stdClass:: in oa_notifications_form_fields()
Fix notifications when creating new node