Fixed the repository jump selector
[viewsvn.git] / global.php
index c62433f78d0a977f4f9ff18cd093d8472828cf95..691d663d257fd6e9c03a951c176acdf97c5b3cf7 100644 (file)
@@ -44,7 +44,8 @@ $fetchtemplates[] = 'doctype';
 $fetchtemplates[] = 'headinclude';
 
 $show['reposchooser'] = false;
-if ($viewsvn->repos->container AND $dochooser)
+
+if ($repos->container AND !$hideChooser)
 {
        $show['reposchooser'] = true;
        $fetchtemplates[] = 'select_option';
@@ -56,7 +57,7 @@ $options = '';
 if ($show['reposchooser'])
 {
        $html = '';
-       $options = $viewsvn->repos->fetch_list();
+       $options = $repos->fetchList();
        foreach ($options AS $option)
        {
                $value = $option;