summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-01-05 22:23:58 +0000
committerDries Buytaert <dries@buytaert.net>2009-01-05 22:23:58 +0000
commit009d05cbe30af1cc69f50f3fd5cabf49a31f9770 (patch)
treee787857a458b80dc335c5d2b4a717e91e0080aa6
parent9e59ef8ed0d385755ce453c29fd7f9d608368a41 (diff)
downloadbrdo-009d05cbe30af1cc69f50f3fd5cabf49a31f9770.tar.gz
brdo-009d05cbe30af1cc69f50f3fd5cabf49a31f9770.tar.bz2
- Patch #326527 by riccardoR: the opening form tag was declared twice.
-rw-r--r--includes/common.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/common.inc b/includes/common.inc
index 1a86ba292..68b26b1e2 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -3236,7 +3236,7 @@ function drupal_render(&$elements) {
$elements['#markup'] = '';
}
- unset($elements['#prefix'], $elements['#suffix']);
+ unset($elements['#type'], $elements['#prefix'], $elements['#suffix']);
$content = theme($elements['#theme'], $elements);
foreach (array('#type', '#prefix', '#suffix') as $key) {