<{if $viewer_level gt 1}>
to
<{if $viewer_level gt 0}>
This seamed to work. Is this the correct thing to do?
Cheers,
Marty
<{if $viewer_level gt 1}>
<{if $viewer_level gt 0}>
Cifug wrote:
When I post I get a blank page with this error:Fatal error: Call to a member function getPermission() on null in /modules/newbb/class/post.php on line 634
Debug says this:Notice: Undefined variable: topicHandler in file /modules/newbb/class/post.php line 634
trabis wrote:
Try adding the line:$topicHandler = xoops_getModuleHandler('topic', 'newbb');
before$thread_action = array();
// irmtfan add pdf permission
in class class/post.php around line 623.
Fatal error: Call to a member function getPermission() on null in /modules/newbb/class/post.php on line 634
Notice: Undefined variable: topicHandler in file /modules/newbb/class/post.php line 634