From a7fb046ba66dace3e4a566f002ddf76640a90708 Mon Sep 17 00:00:00 2001 From: CaMer0n Date: Mon, 17 Aug 2009 11:29:41 +0000 Subject: [PATCH] Theme pref fix --- e107_handlers/e107_class.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/e107_handlers/e107_class.php b/e107_handlers/e107_class.php index 76b05a7c8..05d032078 100644 --- a/e107_handlers/e107_class.php +++ b/e107_handlers/e107_class.php @@ -9,9 +9,9 @@ * e107 Main * * $Source: /cvs_backup/e107_0.8/e107_handlers/e107_class.php,v $ - * $Revision: 1.35 $ - * $Date: 2009-08-16 16:30:56 $ - * $Author: secretr $ + * $Revision: 1.36 $ + * $Date: 2009-08-17 11:29:41 $ + * $Author: e107coders $ */ if (!defined('e107_INIT')) { exit; } @@ -400,8 +400,8 @@ class e107 */ public static function getThemePref($pref_name, $default = null, $index = null) { - $prefobj = e107::getConfig(); - return $prefobj->getPref($prefobj->get('sitetheme').'/sitetheme_pref/'.$pref_name, $default, $index); + $prefobj = e107::getConfig(); + return $prefobj->getPref('sitetheme_pref/'.$pref_name, $default, $index); } /**