The following line is not correct.

  drupal_set_message(t('You must <a href="/admin/reports/settings">enable logging</a> first!'), 'error');

It should be changed in:

  drupal_set_message(t('You must <a href="@reports">enable logging</a> first!', array('@reports' =>url('admin/reports/settings'))), 'error');

Comments

avpaderno’s picture

The relative URLs are used without initial backslash.

Anonymous’s picture

Status: Active » Fixed
avpaderno’s picture

Status: Fixed » Active

The report has been set as fixed, but the code has not been changed.

avpaderno’s picture

Version: 6.x-1.x-dev » 6.x-1.2
Status: Active » Fixed

The code has been fixed in the referring version.

Status: Fixed » Closed (fixed)

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