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

_tag_ drupal-docs at drupal.org
Thu May 5 14:49:32 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

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); 
?>






_tag_ at zibarda.mine.nu




More information about the drupal-docs mailing list