diff options
author | plegall <plg@piwigo.org> | 2014-11-12 13:34:53 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2014-11-12 13:34:53 +0000 |
commit | 40256be64a61f3f8fda734a292d47c0ba4d54c1c (patch) | |
tree | d2bf677bf61f0e1a310b71006fc314daf0ae1cbc /themes/smartpocket/themeconf.inc.php | |
parent | c54c6f9db98638915f46f89d92232930fc050d1e (diff) |
bug 3174 fixed: avoid using load_conf_from_db, use 3rd parameter updateGlobal instead
git-svn-id: http://piwigo.org/svn/trunk@30460 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | themes/smartpocket/themeconf.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/smartpocket/themeconf.inc.php b/themes/smartpocket/themeconf.inc.php index 3b2e701eb..3ed3904a2 100644 --- a/themes/smartpocket/themeconf.inc.php +++ b/themes/smartpocket/themeconf.inc.php @@ -109,7 +109,7 @@ add_event_handler('init', 'mobile_link'); function mobile_link()
{
global $template, $conf;
- $config = unserialize( $conf['smartpocket'] );
+ $config = safe_unserialize( $conf['smartpocket'] );
$template->assign( 'smartpocket', $config );
if ( !empty($conf['mobile_theme']) && (get_device() != 'desktop' || mobile_theme()))
{
|