Skip to content
Snippets Groups Projects
Commit 48ec594f authored by Regis Houssin's avatar Regis Houssin
Browse files

Fix: crlf 2 lf

parent ae674967
No related branches found
No related tags found
No related merge requests found
...@@ -124,12 +124,12 @@ if ($resql) ...@@ -124,12 +124,12 @@ if ($resql)
if (empty($obj->email)) print "Warning: Customer ".$customer." has no email. Notice disabled.\n"; if (empty($obj->email)) print "Warning: Customer ".$customer." has no email. Notice disabled.\n";
} }
// Define line content // Define line content
$outputlangs=new Translate('',$conf); $outputlangs=new Translate('',$conf);
$outputlangs->setDefaultLang(empty($obj->default_lang)?$langs->defaultlang:$obj->default_lang); // By default language of customer $outputlangs->setDefaultLang(empty($obj->default_lang)?$langs->defaultlang:$obj->default_lang); // By default language of customer
$outputlangs->load("bills"); $outputlangs->load("bills");
$outputlangs->load("main"); $outputlangs->load("main");
$outputlangs->load("contracts"); $outputlangs->load("contracts");
if (dol_strlen($oldemail)) if (dol_strlen($oldemail))
{ {
......
...@@ -125,11 +125,11 @@ if ($resql) ...@@ -125,11 +125,11 @@ if ($resql)
if (empty($obj->email)) print "Warning: Sale representative ".$salerepresentative." has no email. Notice disabled.\n"; if (empty($obj->email)) print "Warning: Sale representative ".$salerepresentative." has no email. Notice disabled.\n";
} }
// Define line content // Define line content
$outputlangs=new Translate('',$conf); $outputlangs=new Translate('',$conf);
$outputlangs->setDefaultLang(empty($obj->lang)?$langs->defaultlang:$obj->lang); // By default language of sale representative $outputlangs->setDefaultLang(empty($obj->lang)?$langs->defaultlang:$obj->lang); // By default language of sale representative
$outputlangs->load("bills"); $outputlangs->load("bills");
$outputlangs->load("main"); $outputlangs->load("main");
if (dol_strlen($obj->email)) if (dol_strlen($obj->email))
{ {
......
...@@ -69,8 +69,8 @@ $error=0; ...@@ -69,8 +69,8 @@ $error=0;
print "***** ".$script_file." (".$version.") pid=".getmypid()." *****\n"; print "***** ".$script_file." (".$version.") pid=".getmypid()." *****\n";
$now=dol_now('tzserver'); $now=dol_now('tzserver');
$duration_value=isset($argv[3])?$argv[3]:'none'; $duration_value=isset($argv[3])?$argv[3]:'none';
$duration_value2=isset($argv[4])?$argv[4]:'none'; $duration_value2=isset($argv[4])?$argv[4]:'none';
$error = 0; $error = 0;
print $script_file." launched with mode ".$mode." default lang=".$langs->defaultlang.(is_numeric($duration_value)?" delay=".$duration_value:"").(is_numeric($duration_value2)?" after=".$duration_value2:"")."\n"; print $script_file." launched with mode ".$mode." default lang=".$langs->defaultlang.(is_numeric($duration_value)?" delay=".$duration_value:"").(is_numeric($duration_value2)?" after=".$duration_value2:"")."\n";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment