mirror of
https://github.com/e107inc/e107.git
synced 2025-07-30 19:30:25 +02:00
Bugtracker #3846 - suppress userclass display if no classes available
This commit is contained in:
@@ -11,8 +11,8 @@
|
||||
| GNU General Public License (http://gnu.org).
|
||||
|
|
||||
| $Source: /cvs_backup/e107_0.8/e107_plugins/pm/pm_shortcodes.php,v $
|
||||
| $Revision: 1.3 $
|
||||
| $Date: 2007-02-10 10:19:35 $
|
||||
| $Revision: 1.4 $
|
||||
| $Date: 2007-03-14 20:08:04 $
|
||||
| $Author: e107steved $
|
||||
+----------------------------------------------------------------------------+
|
||||
*/
|
||||
@@ -58,7 +58,9 @@ if($pm_prefs['allow_userclass'])
|
||||
$args = "member, ".$args;
|
||||
}
|
||||
$ret .= r_userclass("pm_userclass", "", "off", $args);
|
||||
if (strpos($ret,'option') === FALSE) $ret = '';
|
||||
}
|
||||
|
||||
return $ret;
|
||||
SC_END
|
||||
|
||||
|
Reference in New Issue
Block a user