debug code left in the custom content module

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Locked
bookworm

debug code left in the custom content module

Post by bookworm »

hi,

when testing out the custom content module with a user that was not a member of the group which was required to view the custom content of the page
the following error message is displayed in the browser (before the doc type declaration)
DEBUG: this user(2) is not a member of group team
after some searching I finally found the line of code in CustomContent.module.php which generates the debug message - line 424
so I commented out the debug message

instead of this simple echo statement could it be possible to generate a more end user friendly message saying that they aren't a member of the required group to view the content, a the relevant location within the page body code
Locked

Return to “Modules/Add-Ons”