diff --git a/lib/System.inc b/lib/System.inc index d265a76..8d80248 100644 --- a/lib/System.inc +++ b/lib/System.inc @@ -44,10 +44,8 @@ class System { * @return string the setting */ function get($sSettingName) { - global $default; - // select the value from the db - return lookupField($default->owl_system_settings_table, "value", "name", $sSettingName); + return lookupField("system_settings", "value", "name", $sSettingName); } /**