Merge pull request #12068 from frederic34/patch-13

fix travis
This commit is contained in:
Laurent Destailleur 2019-10-09 11:44:31 +02:00 committed by GitHub
commit e1a9eecdc3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -334,6 +334,7 @@ class Ccountry // extends CommonObject
return 1;
}
}
/**
* Return a link to the object card (with optionaly the picto)
*
@ -344,7 +345,7 @@ class Ccountry // extends CommonObject
* @param int $save_lastsearch_value -1=Auto, 0=No save of lastsearch_values when clicking, 1=Save lastsearch_values whenclicking
* @return string String with URL
*/
function getNomUrl($withpicto = 0, $option = '', $notooltip = 0, $morecss = '', $save_lastsearch_value = -1)
public function getNomUrl($withpicto = 0, $option = '', $notooltip = 0, $morecss = '', $save_lastsearch_value = -1)
{
global $langs;
return $langs->trans($this->label);