- Patch #142157 by xqus: fixed problem with l() conversion.

6.x
Dries Buytaert 2007-07-03 19:29:32 +00:00
parent ef6deb6c9a
commit 4bf0b45a22
1 changed files with 1 additions and 1 deletions

View File

@ -871,7 +871,7 @@ function theme_book_admin_table($form) {
drupal_render($form[$key]['weight']),
l(t('view'), 'node/'. $nid),
l(t('edit'), 'node/'. $nid .'/edit'),
l(t('delete'), 'node/'. $nid .'/delete', NULL, 'destination=admin/content/book'. (arg(3) == 'orphan' ? '/orphan' : '') . ($pid != $nid ? '/'. $pid : ''))
l(t('delete'), 'node/'. $nid .'/delete', array('query' => 'destination=admin/content/book'. (arg(3) == 'orphan' ? '/orphan' : '') . ($pid != $nid ? '/'. $pid : ''))),
);
}