mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Fix php inherit
This commit is contained in:
parent
08e428b46d
commit
6d63f464bb
|
|
@ -302,7 +302,7 @@ abstract class CommonDocGenerator
|
|||
public function get_substitutionarray_thirdparty($object, $outputlangs, $array_key = 'company')
|
||||
{
|
||||
// phpcs:enable
|
||||
global $conf, $extrafields;
|
||||
global $extrafields;
|
||||
|
||||
if (empty($object->country) && !empty($object->country_code)) {
|
||||
$object->country = $outputlangs->transnoentitiesnoconv("Country".$object->country_code);
|
||||
|
|
|
|||
|
|
@ -88,9 +88,10 @@ abstract class CommonNumRefGenerator
|
|||
/**
|
||||
* Returns the default description of the numbering template
|
||||
*
|
||||
* @return string Descriptive text
|
||||
* @param Translate $langs Language
|
||||
* @return string Descriptive text
|
||||
*/
|
||||
public function info()
|
||||
public function info($langs)
|
||||
{
|
||||
global $langs;
|
||||
return $langs->trans("NoDescription");
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user