Laurent Destailleur 4 vuotta sitten
vanhempi
commit
3cdcaa70d8
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      scripts/contracts/email_expire_services_to_customers.php

+ 1 - 1
scripts/contracts/email_expire_services_to_customers.php

@@ -155,7 +155,7 @@ if ($resql) {
 				if ($targettype == 'contacts') {
 					$oldcid = $obj->cid;
 				}
-				$oldlang = $obj->lang;
+				$oldlang = $obj->default_lang;
 				$oldtarget = (empty($obj->cfirstname) && empty($obj->clastname)) ? $obj->name : ($obj->clastname." ".$obj->cfirstname);
 				$message = '';
 				$total = 0;