diff --git a/libraries/cms/html/tabs.php b/libraries/cms/html/tabs.php
index 32ec4520e623..a9385c3bf75b 100644
--- a/libraries/cms/html/tabs.php
+++ b/libraries/cms/html/tabs.php
@@ -82,7 +82,7 @@ protected static function loadBehavior($group, $params = array())
$opt['onActive'] = (isset($params['onActive'])) ? '\\' . $params['onActive'] : null;
$opt['onBackground'] = (isset($params['onBackground'])) ? '\\' . $params['onBackground'] : null;
$opt['display'] = (isset($params['startOffset'])) ? (int) $params['startOffset'] : null;
- $opt['useStorage'] = (isset($params['useCookie']) && $params['useCookie']) ? 'true' : 'false';
+ $opt['useStorage'] = (isset($params['useCookie']) && $params['useCookie']) ? true : false;
$opt['titleSelector'] = "dt.tabs";
$opt['descriptionSelector'] = "dd.tabs";