diff -upr /spam/spam.module /spam/spam.module --- /spam/spam.module 2008-12-24 23:42:09.000000000 -0600 +++ /spam/spam.module 2008-12-26 01:37:50.649900000 -0600 @@ -1973,11 +1973,11 @@ function spam_logs_entry($id = NULL) { return NULL; } - $breadcrumb[] = array('path' => '', 'title' => t('Home')); - $breadcrumb[] = array('path' => 'admin', 'title' => t('Administer')); - $breadcrumb[] = array('path' => 'admin/reports', 'title' => t('Logs')); - $breadcrumb[] = array('path' => 'admin/reports/spam', 'title' => t('Spam')); - $breadcrumb[] = array('path' => 'admin/reports/spam/detail', 'title' => t('Spam module log entry')); + $breadcrumb[] = l(t('Home'), NULL); + $breadcrumb[] = l(t('Administer'), 'admin'); + $breadcrumb[] = l(t('Logs'), 'admin/reports'); + $breadcrumb[] = l(t('Spam'), 'admin/reports/spam'); + $breadcrumb[] = l(t('Spam module log entry'), 'admin/reports/spam/detail'); drupal_set_breadcrumb($breadcrumb); $message = db_fetch_object(db_query('SELECT * FROM {spam_log} WHERE lid = %d', $id)); @@ -2008,11 +2008,11 @@ function spam_logs_trace($trid = NULL) { drupal_set_title(t('Spam module logs trace')); - $breadcrumb[] = array('path' => '', 'title' => t('Home')); - $breadcrumb[] = array('path' => 'admin', 'title' => t('Administer')); - $breadcrumb[] = array('path' => 'admin/reports', 'title' => t('Logs')); - $breadcrumb[] = array('path' => 'admin/reports/spam', 'title' => t('Spam')); - $breadcrumb[] = array('path' => 'admin/reports/spam/trace', 'title' => t('Spam module log trace')); + $breadcrumb[] = l(t('Home'), NULL); + $breadcrumb[] = l(t('Administer'), 'admin'); + $breadcrumb[] = l(t('Logs'), 'admin/reports'); + $breadcrumb[] = l(t('Spam'), 'admin/reports/spam'); + $breadcrumb[] = l(t('Spam module log trace'), 'admin/reports/spam/trace'); drupal_set_breadcrumb($breadcrumb); $header = array(