Fix scope
authorMichael J. Rubinsky <mrubinsk@horde.org>
Tue, 4 Aug 2009 19:59:54 +0000 (15:59 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Tue, 4 Aug 2009 19:59:54 +0000 (15:59 -0400)
turba/lib/base.php

index eb378f2..4790916 100644 (file)
@@ -67,7 +67,7 @@ $GLOBALS['browse_source_count'] = 0;
 foreach (Turba::getAddressBooks() as $key => $curSource) {
     if (!empty($curSource['browse'])) {
         $selected = ($key == $default_source) ? ' selected="selected"' : '';
-        $browse_source_options .= '<option value="' . htmlspecialchars($key) . '" ' . $selected . '>' .
+        $GLOBALS['browse_source_options'] .= '<option value="' . htmlspecialchars($key) . '" ' . $selected . '>' .
             htmlspecialchars($curSource['title']) . '</option>';
 
         $GLOBALS['browse_source_count']++;