summaryrefslogtreecommitdiff
path: root/modules/system/system.admin.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-09-24 02:10:06 +0000
committerDries Buytaert <dries@buytaert.net>2010-09-24 02:10:06 +0000
commit45acc5a46f4db5c5cbeb8308e6de3d76ff867543 (patch)
tree1d1e8ad7232f801ceb32e263d8e9aaa77e6b892e /modules/system/system.admin.inc
parente0032eeee61f0cb83dbcd7e410bd85f8226b7ec7 (diff)
downloadbrdo-45acc5a46f4db5c5cbeb8308e6de3d76ff867543.tar.gz
brdo-45acc5a46f4db5c5cbeb8308e6de3d76ff867543.tar.bz2
- Patch #921098 by munzirtaha: !is_null() should be replaced by isset() because it's faster.
Diffstat (limited to 'modules/system/system.admin.inc')
-rw-r--r--modules/system/system.admin.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/system/system.admin.inc b/modules/system/system.admin.inc
index 13652b2c6..ff70cc279 100644
--- a/modules/system/system.admin.inc
+++ b/modules/system/system.admin.inc
@@ -639,7 +639,7 @@ function system_theme_settings($form, &$form_state, $key = '') {
}
// Restore the original current theme.
- if (!is_null($default_theme)) {
+ if (isset($default_theme)) {
$GLOBALS['theme_key'] = $default_theme;
}
else {