Only apply settings for non-legacy array
Only apply settings for non-legacy array

--- a/include/git/ProjectList.class.php
+++ b/include/git/ProjectList.class.php
@@ -82,7 +82,7 @@
 		if (!self::$instance)
 			self::$instance = new GitPHP_ProjectListDirectory(GitPHP_Config::GetInstance()->GetValue('projectroot'));
 
-		if (isset($git_projects_settings))
+		if (isset($git_projects_settings) && !$legacy)
 			self::$instance->ApplySettings($git_projects_settings);
 	}
 

comments