[drupal-devel] [task] Useless double printing

drumm drupal-devel at drupal.org
Fri Jan 21 20:16:01 UTC 2005


 Project:      Drupal
 Version:      cvs
 Component:    forum.module
 Category:     tasks
 Priority:     minor
 Assigned to:  drumm
 Reported by:  drumm
 Updated by:   drumm
 Status:       patch
 Attachment:   http://drupal.org/files/issues/forum.module_0.patch (852 bytes)

theme_forum_display() currently calls theme_page() and prints it. And
then forum_page() prints the null output of that function.

Rwally, theme_forum_display() has no business calling theme_page().
Lets have it return the output and then forum_page() can put it in a
page.

drumm

-- 
View: http://drupal.org/node/15978
Edit: http://drupal.org/project/comments/add/15978





More information about the drupal-devel mailing list