diff options
author | flop25 <flop25@piwigo.org> | 2014-01-11 15:35:00 +0000 |
---|---|---|
committer | flop25 <flop25@piwigo.org> | 2014-01-11 15:35:00 +0000 |
commit | b071d8dc18a8b2e6aeff96a2e9208ac02653381e (patch) | |
tree | 60f1248aa23b3fde3b05c3645ac5231927a7fee0 /themes/smartpocket/admin/upgrade.inc.php | |
parent | dfea0da88f04d1a3edee230555716f193c699c35 (diff) |
smartpocket: Thememaintain class used in maintain.inc.php-> no more issue on 2.6 installation (tested)
git-svn-id: http://piwigo.org/svn/trunk@26627 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | themes/smartpocket/admin/upgrade.inc.php | 4 |
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(); |