Skip to content

Commit

Permalink
#10 [Lib] fix: strtolower for prevent name conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-eoxia committed Aug 3, 2023
1 parent daa4f58 commit 9e66ec2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tinyurl_function.lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function set_tiny_url_link(CommonObject $object) {
$object->fetch($object->id);
$onlinePaymentURL = getOnlinePaymentUrl(0, 'invoice', $object->ref);

$title = dol_sanitizeFileName($conf->global->MAIN_INFO_SOCIETE_NOM . '-' . strtolower($object->ref) . (getDolGlobalInt('TINYURL_USE_SHA_URL') ? '-' . generate_random_id(8) : ''));
$title = dol_sanitizeFileName(strtolower($conf->global->MAIN_INFO_SOCIETE_NOM) . '-' . strtolower($object->ref) . (getDolGlobalInt('TINYURL_USE_SHA_URL') ? '-' . generate_random_id(8) : ''));

// Init the CURL session
$ch = curl_init();
Expand Down

0 comments on commit 9e66ec2

Please sign in to comment.