[drupal-docs] [bug] node_example.module old code in *_form()

_tag_ drupal-docs at drupal.org
Thu May 5 14:51:04 UTC 2005


Issue status update for http://drupal.org/node/22081

 Project:      Documentation
 Version:      <none>
 Component:    Misc
 Category:     bug reports
 Priority:     normal
 Assigned to:  Anonymous
 Reported by:  _tag_ at zibarda.mine.nu
 Updated by:   _tag_ at zibarda.mine.nu
 Status:       patch

sorry, forgot the line #
the offending line is in line 139




_tag_ at zibarda.mine.nu



Previous comments:
------------------------------------------------------------------------

May 5, 2005 - 15:49 : _tag_ at zibarda.mine.nu

in the node_example_form() function there's:

<?php
 $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:

<?php
 $output .= form_textarea(t('Body'), 'body', $node->body, 60, 20, '',
NULL, TRUE); 
?>









More information about the drupal-docs mailing list