소스 검색

Fix warning

Laurent Destailleur 4 년 전
부모
커밋
2e04aa4e03
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      scripts/invoices/email_unpaid_invoices_to_customers.php

+ 1 - 1
scripts/invoices/email_unpaid_invoices_to_customers.php

@@ -153,7 +153,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;