diff --git a/themeconf.inc.php b/themeconf.inc.php index 5ff8842..23952fe 100644 --- a/themeconf.inc.php +++ b/themeconf.inc.php @@ -20,7 +20,7 @@ add_event_handler('init', 'set_config_values_elegant'); function set_config_values_elegant() { global $conf, $template; - $config = unserialize( $conf['elegant'] ); + $config = safe_unserialize( $conf['elegant'] ); $template->assign( 'elegant', $config ); }