|
@@ -16,7 +16,7 @@ function template_login()
|
|
|
global $context, $settings, $scripturl, $modSettings, $txt;
|
|
|
|
|
|
// AJAX request?
|
|
|
- if ($context['from_ajax'])
|
|
|
+ if (!empty($context['from_ajax']))
|
|
|
echo '
|
|
|
<script src="', $settings['default_theme_url'], '/scripts/sha1.js', $modSettings['browser_cache'] ,'"></script>';
|
|
|
|