$theme = user_theme();
- if ($SysPrefs->help_base_url != null && $SysPrefs->SysPrefs->use_popup_windows && $js == '')
+ if ($SysPrefs->help_base_url != null && $SysPrefs->use_popup_windows && $js == '')
{
if (!function_exists('get_js_open_window'))
{