aboutsummaryrefslogtreecommitdiffstats
path: root/themes/smartpocket/admin/upgrade.inc.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--themes/smartpocket/admin/upgrade.inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/smartpocket/admin/upgrade.inc.php b/themes/smartpocket/admin/upgrade.inc.php
index 709cab495..1e1925d77 100644
--- a/themes/smartpocket/admin/upgrade.inc.php
+++ b/themes/smartpocket/admin/upgrade.inc.php
@@ -20,8 +20,8 @@ elseif (count(unserialize( $conf['smartpocket'] ))!=2)
{
$conff=unserialize($conf['smartpocket']);
$config = array(
- 'loop' => (isset($conff['loop'])) ? $conff['loop'] :true,
- 'autohide' => (isset($conff['autohide'])) ? $conff['autohide'] :5000,
+ 'loop' => (!empty($conff['loop'])) ? $conff['loop'] :true,
+ 'autohide' => (!empty($conff['autohide'])) ? $conff['autohide'] :5000,
);
conf_update_param('smartpocket', pwg_db_real_escape_string(serialize($config)));
load_conf_from_db();