Closed (won't fix)
Project:
Documentation
Component:
Correction/Clarification
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
5 May 2005 at 14:49 UTC
Updated:
31 Aug 2008 at 08:17 UTC
in the node_example_form() function there's:
$output .= form_textarea(t('Body'), 'body', $node->body, 60, 20, filter_tips_short());
which (as far as i can tell) is wrong... there's no filter_tips_short() anymore... it should read:
$output .= form_textarea(t('Body'), 'body', $node->body, 60, 20, '', NULL, TRUE);
Comments
Comment #1
_tag_@zibarda.mine.nu commentedsorry, forgot the line #
the offending line is in line 139
Comment #2
drewish commentedWhile this maybe an issue in 4.6 branch, in HEAD, the new forms API has replaced it.
Comment #3
Tresler commentedForms API replaces this - also there was no patch attached.
Comment #4
shunting commentedThere's a link in version 5 of the APIs to node_example.module here:
http://api.drupal.org/api/5/file/developer/examples/node_example.module
to the node_example.module here:
http://api.drupal.org/api/5/file/developer/examples/node_example.module/...
which I guess would be an opportunity to bring the example up to date...
Comment #5
nielsbom commentedChanged the component to reflect the new component categorization. See http://drupal.org/node/301443
-nielsbom