Closed (fixed)
Project:
Attachment
Version:
4.6.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Jun 2005 at 15:28 UTC
Updated:
28 Oct 2005 at 21:13 UTC
DB fields for title and description are VARCHAR(255) and in code we have :
// title
$group .= form_textfield(
t('Title'), // title
'attachment_title', // name
$node->attachment_title, // value
10, // size
50, // maxlength
t('used as link-text'),
null, // attributes
false // required
);
// description
$group .= form_textfield(
t('Description'), // title
'attachment_description', // name
$node->attachment_description, // value
10, // size
50, // maxlength
t('used as title-attribute in link'),
null, // attributes
false // required
);
Change maxlength to 255 to meet DB limitations.
Comments
Comment #1
ccourtne commentedI have updated the module to do the correct thing. Thanks.
Comment #2
ccourtne commented