Emails with empty Subject strings in admin/reports/govdelivery_message_queue are not clickable because they have no link text.

Comments

msmithgu’s picture

Inside govdelivery_message_queue_report() in govdelivery.module, try changing

      $rows[] = array(l($queuedmessage->data['subject'], 'govdelivery_details/' . $queuedmessage->cid), $queuedmessage->day, check_plain($queuedmessage->data['id']));

to

      $subject_text = $queuedmessage->data['subject'] ? $queuedmessage->data['subject'] : t('(no subject)');
      $subject_link = l($subject_text, 'govdelivery_details/' . $queuedmessage->cid);
      $rows[] = array($subject_link, $queuedmessage->day, check_plain($queuedmessage->data['id']));
dstol’s picture

Status: Active » Fixed

fixed in dev

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.