Skip to content

Commit

Permalink
Documents: Fix wrong get_lang variable + add verbose in travis
Browse files Browse the repository at this point in the history
Fixes behat test not finding the correct link.
  • Loading branch information
jmontoyaa committed Oct 27, 2020
1 parent 8967da8 commit 3d3de79
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion main/document/document.php
Expand Up @@ -1808,7 +1808,7 @@ function convertModal (id, format) {
);
} 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
);
}
Expand Down

0 comments on commit 3d3de79

Please sign in to comment.