summaryrefslogtreecommitdiff
path: root/modules/poll/poll.module
diff options
context:
space:
mode:
authorDavid Rothstein <drothstein@gmail.com>2014-11-05 01:48:56 -0500
committerDavid Rothstein <drothstein@gmail.com>2014-11-05 01:48:56 -0500
commit0091b69893afe3e3c9bb0652db19b41f5f796354 (patch)
treef5345dbccfec8e50b677b3828362d08054f85248 /modules/poll/poll.module
parentc990cd6bf3e409fa65bbe885dbafd7afa5144848 (diff)
downloadbrdo-0091b69893afe3e3c9bb0652db19b41f5f796354.tar.gz
brdo-0091b69893afe3e3c9bb0652db19b41f5f796354.tar.bz2
Issue #2305291 by scor: Fixed Poll title should have same length as regular content type (255).
Diffstat (limited to 'modules/poll/poll.module')
-rw-r--r--modules/poll/poll.module1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/poll/poll.module b/modules/poll/poll.module
index c349829a2..d3d64b178 100644
--- a/modules/poll/poll.module
+++ b/modules/poll/poll.module
@@ -249,6 +249,7 @@ function poll_form($node, &$form_state) {
'#title' => check_plain($type->title_label),
'#required' => TRUE,
'#default_value' => $node->title,
+ '#maxlength' => 255,
'#weight' => -5,
);