CB Workflow module: Warning

9 years 6 months ago #248833 by alumnifreudenhain
CB Workflow module: Warning was created by alumnifreudenhain
Hello,

I enounter an error in the CB Workflow module in the front end.
When I log in as superuser everything works just fine ("1 user" when there is one user to be approved), but when logging in as moderator, it says

Warning: in /..../modules/mod_comprofilermoderator/mod_comprofilermoderator.php
on line 59
1 user

Line 59ff. says

$query = "SELECT banned FROM #__comprofiler WHERE id = " . $_CB_framework->myId();
$_CB_database->setQuery( $query);
$banStatus = $_CB_database->loadResult();

Everything is installed correctly. I still can approve or reject user requests as moderator, but there is this line that is only visible to moderators.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.143 seconds

Facebook Twitter LinkedIn