Index: users.inc.t =================================================================== RCS file: /forum21/install/forum_data/src/users.inc.t,v retrieving revision 1.84 diff -u -r1.84 users.inc.t --- users.inc.t 6 Nov 2003 01:33:42 -0000 1.84 +++ users.inc.t 8 Nov 2003 00:00:46 -0000 @@ -61,7 +61,7 @@ define('t_thread_view', $u->users_opt & 128 ? 'thread' : 'threadt'); /* theme path */ - @define('fud_theme', 'theme/' . str_replace(' ', '_', $u->theme_name) . '/'); + @define('fud_theme', 'theme/' . preg_replace('![^A-Za-z0-9_]!', '_', $u->theme_name) . '/'); /* define _uid, which, will tell us if this is a 'real' user or not */ define('_uid', ($u->users_opt & 131072) && !($u->users_opt & 2097152) ? $u->id : 0);