Skip to content

Commit

Permalink
Correct spelling errors (Dolibarr#28134)
Browse files Browse the repository at this point in the history
# Correct spelling errors

Correct spelling errors that newly appeared in 19.0 and block ci.
  • Loading branch information
mdeweerd authored Feb 12, 2024
1 parent 1bfe7ac commit 540502e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions htdocs/core/js/lib_notification.js.php
Original file line number Diff line number Diff line change
Expand Up @@ -212,9 +212,9 @@ function check_events() {

result = 1;
} else {
console.log("Cancel check_events() with dolnotif_nb_test_for_page="+dolnotif_nb_test_for_page+". Check is useless because javascript Notification.permission is "+Notification.permission+" (blocked manualy or web site is not https or browser is in Private mode).");
console.log("Cancel check_events() with dolnotif_nb_test_for_page="+dolnotif_nb_test_for_page+". Check is useless because javascript Notification.permission is "+Notification.permission+" (blocked manually or web site is not https or browser is in Private mode).");

result = 2; // We return a positive so the repeated check will done even if authroization is not yet allowed may be after this check)
result = 2; // We return a positive so the repeated check will done even if authorization is not yet allowed may be after this check)
}

if (dolnotif_nb_test_for_page >= 5) {
Expand Down
2 changes: 1 addition & 1 deletion htdocs/core/lib/files.lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -2560,7 +2560,7 @@ function dol_most_recent_file($dir, $regexfilter = '', $excludefilter = array('(
* Security check when accessing to a document (used by document.php, viewimage.php and webservices to get documents).
* TODO Replace code that set $accessallowed by a call to restrictedArea()
*
* @param string $modulepart Module of document ('module', 'module_user_temp', 'module_user' or 'module_temp'). Exemple: 'medias', 'invoice', 'logs', 'tax-vat', ...
* @param string $modulepart Module of document ('module', 'module_user_temp', 'module_user' or 'module_temp'). Example: 'medias', 'invoice', 'logs', 'tax-vat', ...
* @param string $original_file Relative path with filename, relative to modulepart.
* @param string $entity Restrict onto entity (0=no restriction)
* @param User|null $fuser User object (forced)
Expand Down

0 comments on commit 540502e

Please sign in to comment.