diff --git a/htdocs/contact/card.php b/htdocs/contact/card.php index a7b38cc85c7..1a11ac4f65a 100644 --- a/htdocs/contact/card.php +++ b/htdocs/contact/card.php @@ -52,7 +52,8 @@ require_once DOL_DOCUMENT_ROOT.'/categories/class/categorie.class.php'; // Load translation files required by the page $langs->loadLangs(array('companies', 'users', 'other', 'commercial')); -$mesg = ''; $error = 0; $errors = array(); +$error = 0; +$errors = array(); // Get parameters $action = (GETPOST('action', 'alpha') ? GETPOST('action', 'alpha') : 'view'); diff --git a/htdocs/core/class/notify.class.php b/htdocs/core/class/notify.class.php index d49388d26c9..46f9320ab32 100644 --- a/htdocs/core/class/notify.class.php +++ b/htdocs/core/class/notify.class.php @@ -491,7 +491,7 @@ class Notify $link = ''.$newref.''; $dir_output = $conf->facture->dir_output."/".get_exdir(0, 0, 0, 1, $object, 'invoice'); $object_type = 'facture'; - $mesg = $outputlangs->transnoentitiesnoconv("EMailTextInvoiceCancelled", $link); + $mesg = $outputlangs->transnoentitiesnoconv("EMailTextInvoiceCanceled", $link); break; case 'BILL_VALIDATE': $link = ''.$newref.''; @@ -509,7 +509,7 @@ class Notify $link = ''.$newref.''; $dir_output = $conf->commande->dir_output."/".get_exdir(0, 0, 0, 1, $object, 'commande'); $object_type = 'order'; - $mesg = $outputlangs->transnoentitiesnoconv("EMailTextOrderCancelled", $link); + $mesg = $outputlangs->transnoentitiesnoconv("EMailTextOrderCanceled", $link); break; case 'ORDER_VALIDATE': $link = ''.$newref.''; diff --git a/htdocs/core/photos_resize.php b/htdocs/core/photos_resize.php index eecfe22c4b3..393cb4067c1 100644 --- a/htdocs/core/photos_resize.php +++ b/htdocs/core/photos_resize.php @@ -560,11 +560,11 @@ if (!empty($conf->use_javascript_ajax)) { if (empty($conf->dol_no_mouse_hover)) { print '