summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org>2006-04-26 21:53:24 +0000
committerGerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org>2006-04-26 21:53:24 +0000
commit7c941aa5dcd624c4529d3d837e5f4646b1820f28 (patch)
tree2e27f2f1b4757a17dd9033c25cfe8cca37347a6b
parentb538ba870b04f26b0870c194df44241a1595e7dd (diff)
downloadbrdo-7c941aa5dcd624c4529d3d837e5f4646b1820f28.tar.gz
brdo-7c941aa5dcd624c4529d3d837e5f4646b1820f28.tar.bz2
#60563, missing block name in delete dialoge, patch by Steve McKenzie
-rw-r--r--modules/block.module2
-rw-r--r--modules/block/block.module2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/block.module b/modules/block.module
index ed08c2010..af5b5f460 100644
--- a/modules/block.module
+++ b/modules/block.module
@@ -482,7 +482,7 @@ function block_box_delete($bid = 0) {
$form['info'] = array('#type' => 'hidden', '#value' => $box['info'] ? $box['info'] : $box['title']);
$form['bid'] = array('#type' => 'hidden', '#value' => $bid);
- return confirm_form('block_box_delete_confirm', $form, t('Are you sure you want to delete the block %name?', array('%name' => theme('placeholder', $info))), 'admin/block', '', t('Delete'), t('Cancel'));
+ return confirm_form('block_box_delete_confirm', $form, t('Are you sure you want to delete the block %name?', array('%name' => theme('placeholder', $box['info']))), 'admin/block', '', t('Delete'), t('Cancel'));
}
/**
diff --git a/modules/block/block.module b/modules/block/block.module
index ed08c2010..af5b5f460 100644
--- a/modules/block/block.module
+++ b/modules/block/block.module
@@ -482,7 +482,7 @@ function block_box_delete($bid = 0) {
$form['info'] = array('#type' => 'hidden', '#value' => $box['info'] ? $box['info'] : $box['title']);
$form['bid'] = array('#type' => 'hidden', '#value' => $bid);
- return confirm_form('block_box_delete_confirm', $form, t('Are you sure you want to delete the block %name?', array('%name' => theme('placeholder', $info))), 'admin/block', '', t('Delete'), t('Cancel'));
+ return confirm_form('block_box_delete_confirm', $form, t('Are you sure you want to delete the block %name?', array('%name' => theme('placeholder', $box['info']))), 'admin/block', '', t('Delete'), t('Cancel'));
}
/**