Try:
require GForum;
return GForum::do_func('message_list');
}
The message_list action will print a header on it's own so there's no need to explicitly print one. Also a "require" is better than a "use" as it won't load the module again if it is already in memory.
Code:
sub pm_normal { require GForum;
return GForum::do_func('message_list');
}
The message_list action will print a header on it's own so there's no need to explicitly print one. Also a "require" is better than a "use" as it won't load the module again if it is already in memory.