Skip to content

Commit

Permalink
Merge pull request #9339 from ptibogxiv/patch-48
Browse files Browse the repository at this point in the history
add logo with multicompany
  • Loading branch information
eldy committed Sep 1, 2018
2 parents 0913b87 + d285927 commit cbe89af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions htdocs/public/payment/newpayment.php
Expand Up @@ -682,12 +682,12 @@
$urllogo='';
if (! empty($logosmall) && is_readable($conf->mycompany->dir_output.'/logos/thumbs/'.$logosmall))
{
$urllogo=DOL_URL_ROOT.'/viewimage.php?modulepart=mycompany&file='.urlencode('thumbs/'.$logosmall);
$urllogo=DOL_URL_ROOT.'/viewimage.php?modulepart=mycompany&entity='.$conf->entity.'&file='.urlencode('thumbs/'.$logosmall);
$width=150;
}
elseif (! empty($logo) && is_readable($conf->mycompany->dir_output.'/logos/'.$logo))
{
$urllogo=DOL_URL_ROOT.'/viewimage.php?modulepart=mycompany&file='.urlencode($logo);
$urllogo=DOL_URL_ROOT.'/viewimage.php?modulepart=mycompany&entity='.$conf->entity.'&file='.urlencode($logo);
$width=150;
}
// Output html code for logo
Expand Down

0 comments on commit cbe89af

Please sign in to comment.