and change it toif($cb_use=='1') $query="SELECT t1.username,t1.name FROM #__users AS t1, #__comprofiler AS t2 WHERE t1.block!='1' AND t2.approved='1' AND t2.confirmed='1' AND t1.username!='$my->username' AND t1.id=t2.user_id ORDER BY username";
then find at line 255if($cb_use=='1') $query="SELECT t1.username,t1.name FROM #__users AS t1, #__comprofiler AS t2 WHERE t1.block!='1' AND t2.approved='1' AND t2.confirmed='1' AND t1.username!='$my->username' AND t1.id=t2.user_id ORDER BY name";
and change it toelse $query="SELECT username,name FROM #__users WHERE block!='1' AND username!='$my->username' ORDER BY username";
else $query="SELECT username,name FROM #__users WHERE block!='1' AND username!='$my->username' ORDER BY name";
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.