Fix warning
This commit is contained in:
parent
813adaa7b1
commit
65a983c2d7
2 changed files with 2 additions and 2 deletions
|
|
@ -417,7 +417,7 @@ print $s;
|
|||
print "<br>\n";
|
||||
print "</div>\n";
|
||||
|
||||
$htmltext .= $langs->trans("UnalterableLogTool1");
|
||||
$htmltext = $langs->trans("UnalterableLogTool1");
|
||||
if ($mysoc->country_code == 'FR') {
|
||||
$htmltext .= ' '.$langs->trans("UnalterableLogTool1FR");
|
||||
}
|
||||
|
|
|
|||
|
|
@ -115,7 +115,7 @@ if (empty($xmlremote) && getDolGlobalString($param)) {
|
|||
if (empty($xmlremote)) {
|
||||
$xmlremote = 'https://www.dolibarr.org/files/stable/signatures/filelist-'.DOL_VERSION.'.xml';
|
||||
}
|
||||
if ($xmlremote && !preg_match('/^https?:\/\//', $xmlremote)) {
|
||||
if (!preg_match('/^https?:\/\//', $xmlremote)) {
|
||||
$langs->load("errors");
|
||||
setEventMessages($langs->trans("ErrorURLMustStartWithHttp", $xmlremote), null, 'errors');
|
||||
$error++;
|
||||
|
|
|
|||
Loading…
Reference in a new issue