Verified Commit 268f2fd1 authored by Tim Diels's avatar Tim Diels Committed by Alberto Paderno
Browse files

Issue #3285062 by tim-diels: config_tools_requirements() sets the wrong array index

parent 1b3d5015
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -21,7 +21,7 @@ function config_tools_requirements($phase) {
    catch (GitException $gitException) {
      $requirements['git_executable']['title'] = t('Git executable');
      $requirements['git_executable']['value'] = t('Not found');
      $requirements['git']['description'] = t(
      $requirements['git_executable']['description'] = t(
        "The %class class isn't able to find the Git executable, which is required from the %module module.",
        ['%class' => GitWrapper::class, '%module' => 'Configuration Tools']
      );
@@ -37,8 +37,6 @@ function config_tools_requirements($phase) {
      ['%library' => 'cpliakas/git-wrapper', '%module' => 'Configuration Tools']
    );
    $requirements['git_executable']['severity'] = REQUIREMENT_OK;


  }
  else {
    $requirements['git_wrapper_library']['title'] = t('%library library', ['%library' => 'cpliakas/git-wrapper']);