diff options
author | Andreas Fischer <bantu@phpbb.com> | 2013-10-10 23:30:29 +0200 |
---|---|---|
committer | Andreas Fischer <bantu@phpbb.com> | 2013-10-10 23:30:29 +0200 |
commit | a409d398814489b90c94eeb3bf8b3bbde1df0842 (patch) | |
tree | 276d92adf05b6392a98f162776a2c4dcc214a1b4 /phpBB/includes/functions.php | |
parent | 21eae92c27d22a96f847c01770b18f3d00b5aabd (diff) | |
download | forums-a409d398814489b90c94eeb3bf8b3bbde1df0842.tar forums-a409d398814489b90c94eeb3bf8b3bbde1df0842.tar.gz forums-a409d398814489b90c94eeb3bf8b3bbde1df0842.tar.bz2 forums-a409d398814489b90c94eeb3bf8b3bbde1df0842.tar.xz forums-a409d398814489b90c94eeb3bf8b3bbde1df0842.zip |
[ticket/11703] Also use empty() for T_JQUERY_LINK.
PHPBB3-11703
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r-- | phpBB/includes/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 4ada12b87a..1e33e6284a 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -5451,7 +5451,7 @@ function page_header($page_title = '', $display_online_list = true, $item_id = 0 'T_UPLOAD_PATH' => "{$web_path}{$config['upload_path']}/", 'T_STYLESHEET_LINK' => "{$web_path}styles/" . rawurlencode($user->style['style_path']) . '/theme/stylesheet.css?assets_version=' . $config['assets_version'], 'T_STYLESHEET_LANG_LINK' => "{$web_path}styles/" . rawurlencode($user->style['style_path']) . '/theme/' . $user->lang_name . '/stylesheet.css?assets_version=' . $config['assets_version'], - 'T_JQUERY_LINK' => ($config['allow_cdn'] && !empty($config['load_jquery_url'])) ? $config['load_jquery_url'] : "{$web_path}assets/javascript/jquery.js?assets_version=" . $config['assets_version'], + 'T_JQUERY_LINK' => !empty($config['allow_cdn']) && !empty($config['load_jquery_url']) ? $config['load_jquery_url'] : "{$web_path}assets/javascript/jquery.js?assets_version=" . $config['assets_version'], 'S_ALLOW_CDN' => !empty($config['allow_cdn']), 'T_THEME_NAME' => rawurlencode($user->style['style_path']), |