Documents: Fix wrong get_lang variable + add verbose in travis

Fixes behat test not finding the correct link.
pull/3591/head
Julio Montoya 5 years ago
parent 8967da8cc6
commit 3d3de794c1
  1. 2
      .travis.yml
  2. 2
      main/document/document.php

@ -104,7 +104,7 @@ script:
# - chromedriver --version
- cd tests/behat
- pwd
- travis_wait 45 ../../vendor/behat/behat/bin/behat -v
- travis_wait 45 ../../vendor/behat/behat/bin/behat -vv
# - sudo cat /var/log/apache2/$VHOST_URL-access.log
after_failure:

@ -1808,7 +1808,7 @@ if ($isAllowedToEdit ||
);
} else {
$actionsLeft .= Display::url(
Display::return_icon('upload_file.png', get_lang('FileToUpload'), '', ICON_SIZE_MEDIUM),
Display::return_icon('upload_file.png', get_lang('UplUploadDocument'), '', ICON_SIZE_MEDIUM),
api_get_path(WEB_CODE_PATH).'document/upload.php?'.api_get_cidreq().'&id='.$current_folder_id
);
}

Loading…
Cancel
Save