From 97d78af5651c951a96a5bd27fec9d3aafe1c601f Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Sun, 31 Jan 2010 13:57:57 -0500 Subject: [PATCH] Don't overwrite the global cfgSources array --- turba/lib/Application.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/turba/lib/Application.php b/turba/lib/Application.php index 53996b24e..709e21c44 100644 --- a/turba/lib/Application.php +++ b/turba/lib/Application.php @@ -170,9 +170,8 @@ class Turba_Application extends Horde_Registry_Application /* Assign variables for select lists. */ if (!$GLOBALS['prefs']->isLocked('default_dir')) { - require TURBA_BASE . '/config/sources.php'; $out['default_dir_options'] = array(); - foreach ($cfgSources as $key => $info) { + foreach ($GLOBALS['cfgSources'] as $key => $info) { $out['default_dir_options'][$key] = $info['title']; } } -- 2.11.0