Qual: Removed deprecated code
This commit is contained in:
parent
37a2f537c2
commit
b1c1b6ffd1
@ -35,9 +35,10 @@
|
|||||||
* \param targetcontact Target contact object (not used yet)
|
* \param targetcontact Target contact object (not used yet)
|
||||||
* \return string Source of file
|
* \return string Source of file
|
||||||
*/
|
*/
|
||||||
function pdf_build_address($outputlangs,$sourcecompany,$targetcompany,$targetcontact)
|
function pdf_build_address($outputlangs,$sourcecompany,$targetcompany='',$targetcontact='')
|
||||||
{
|
{
|
||||||
$stringaddress = '';
|
$stringaddress = '';
|
||||||
|
|
||||||
if (is_object($sourcecompany))
|
if (is_object($sourcecompany))
|
||||||
{
|
{
|
||||||
$stringaddress .= ($stringaddress ? "\n" : '' ).$outputlangs->convToOutputCharset($sourcecompany->address);
|
$stringaddress .= ($stringaddress ? "\n" : '' ).$outputlangs->convToOutputCharset($sourcecompany->address);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user