diff --git a/campaignmonitor.module b/campaignmonitor.module
index cc80584..3fcd1cc 100644
--- a/campaignmonitor.module
+++ b/campaignmonitor.module
@@ -208,7 +208,7 @@ function campaignmonitor_subscribe_form($form, &$form_state, $list_id, $account)
   }
 
   // Sould the name field be displayed for this user.
-  if ($list_options['display']['name']) {
+  if (isset($list_options['display']['name']) && $list_options['display']['name']) {
     if (!empty($email) && $cm->isSubscribed($list_id, $email)) {
       // If subscribed, get her/his name from campaign monitor.
       $subscriber = $cm->getSubscriber($list_id, $email);
