From 12d74454f6cf30dd061a5a50cd05a915f0852caa Mon Sep 17 00:00:00 2001 From: Gerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org> Date: Fri, 17 Mar 2006 18:37:46 +0000 Subject: [PATCH] #54508, remove extra </div>, patch by introfini --- modules/poll.module | 2 +- modules/poll/poll.module | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/poll.module b/modules/poll.module index ea0a561a0742..1cd9fce8ba32 100644 --- a/modules/poll.module +++ b/modules/poll.module @@ -158,7 +158,7 @@ function poll_form(&$node) { $_active = array(0 => t('Closed'), 1 => t('Active')); if ($admin) { - $form['settings'] = array('#type' => 'fieldset', '#title' => t('Settings'), '#suffix' => '</div>'); + $form['settings'] = array('#type' => 'fieldset', '#title' => t('Settings')); $form['settings']['active'] = array('#type' => 'radios', '#title' => t('Poll status'), '#default_value' => isset($node->active) ? $node->active : 1, '#options' => $_active, '#description' => t('When a poll is closed, visitors can no longer vote for it.')); } $form['settings']['runtime'] = array('#type' => 'select', '#title' => t('Poll duration'), '#default_value' => $node->runtime ? $node->runtime : 0, '#options' => $_duration, '#description' => t('After this period, the poll will be closed automatically.')); diff --git a/modules/poll/poll.module b/modules/poll/poll.module index ea0a561a0742..1cd9fce8ba32 100644 --- a/modules/poll/poll.module +++ b/modules/poll/poll.module @@ -158,7 +158,7 @@ function poll_form(&$node) { $_active = array(0 => t('Closed'), 1 => t('Active')); if ($admin) { - $form['settings'] = array('#type' => 'fieldset', '#title' => t('Settings'), '#suffix' => '</div>'); + $form['settings'] = array('#type' => 'fieldset', '#title' => t('Settings')); $form['settings']['active'] = array('#type' => 'radios', '#title' => t('Poll status'), '#default_value' => isset($node->active) ? $node->active : 1, '#options' => $_active, '#description' => t('When a poll is closed, visitors can no longer vote for it.')); } $form['settings']['runtime'] = array('#type' => 'select', '#title' => t('Poll duration'), '#default_value' => $node->runtime ? $node->runtime : 0, '#options' => $_duration, '#description' => t('After this period, the poll will be closed automatically.')); -- GitLab