aboutsummaryrefslogtreecommitdiffstats
path: root/themes/smartpocket/themeconf.inc.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2014-11-12 13:34:53 +0000
committerplegall <plg@piwigo.org>2015-09-29 12:28:31 +0200
commitb12f6314c43aa013e80e10414cf41eac988c26fa (patch)
tree3bf304dc310ed29204e02768fba883125db33658 /themes/smartpocket/themeconf.inc.php
parent5e76fb4ce6d61cabfd120e77096e2e57c357cb8b (diff)
fixes #288 on branch 2.7 (cherry-pick of commit 40256be64a61f3f8fda734a292d47c0ba4d54c1c from master)2.7
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 'themes/smartpocket/themeconf.inc.php')
-rw-r--r--themes/smartpocket/themeconf.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/smartpocket/themeconf.inc.php b/themes/smartpocket/themeconf.inc.php
index 83ffd505e..419e7a68b 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()))
{