Commit ea0d7db2 authored by m.stenta's avatar m.stenta
Browse files

Fix log URI in newly generated logs.

parent d2ca96c1
......@@ -236,7 +236,7 @@ function log_form_submit(array $form, array &$form_state) {
$form_state['redirect'] = $log_uri['path'];
// Print a message.
drupal_set_message(t('Log saved: <a href="@uri">%title</a>', array('@uri' => entity_uri('log', $log), '%title' => entity_label('log', $log))));
drupal_set_message(t('Log saved: <a href="@uri">%title</a>', array('@uri' => base_path() . $log_uri['path'], '%title' => entity_label('log', $log))));
}
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment